Skip to content

Commit 24fb42d

Browse files
ECWID-155655 - (fix) fix tests
1 parent 2976d81 commit 24fb42d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/kotlin/com/ecwid/apiclient/v3/entity/CategoriesTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class CategoriesTest : BaseEntityTest() {
179179
// Searching categories with different combinations of baseUrl and cleanUrls parameters
180180
assertCategoryUrlMatchesRegex(
181181
categorySearchRequest = CategoriesSearchRequest(),
182-
urlPattern = "https://.*.company.site.*/products#!/Category-.*c.*"
182+
urlPattern = "https://.*.company.site.*/products/Category-.*c.*"
183183
)
184184
assertCategoryUrlMatchesRegex(
185185
categorySearchRequest = CategoriesSearchRequest(

src/test/kotlin/com/ecwid/apiclient/v3/entity/ProductsTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class ProductsTest : BaseEntityTest() {
242242
// Searching products with different combinations of baseUrl and cleanUrls parameters
243243
assertProductUrlMatchesRegex(
244244
productSearchRequest = ByFilters(keyword = productCreateRequest.newProduct.sku),
245-
urlPattern = "https://.*.company.site.*/products#!/Product-.*p.*"
245+
urlPattern = "https://.*.company.site.*/products/Product-.*p.*"
246246
)
247247
assertProductUrlMatchesRegex(
248248
productSearchRequest = ByFilters(

0 commit comments

Comments
 (0)