diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/entity/CategoriesTest.kt b/src/test/kotlin/com/ecwid/apiclient/v3/entity/CategoriesTest.kt index ad1a023c7..2a640161d 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/entity/CategoriesTest.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/entity/CategoriesTest.kt @@ -179,7 +179,7 @@ class CategoriesTest : BaseEntityTest() { // Searching categories with different combinations of baseUrl and cleanUrls parameters assertCategoryUrlMatchesRegex( categorySearchRequest = CategoriesSearchRequest(), - urlPattern = "https://.*.company.site.*/products#!/Category-.*c.*" + urlPattern = "https://.*.company.site.*/products/Category-.*c.*" ) assertCategoryUrlMatchesRegex( categorySearchRequest = CategoriesSearchRequest( @@ -191,7 +191,7 @@ class CategoriesTest : BaseEntityTest() { categorySearchRequest = CategoriesSearchRequest( cleanUrls = false ), - urlPattern = "https://.*.company.site.*/products#!/Category-.*/c/.*" + urlPattern = "https://.*.company.site.*/products/Category-.*/c/.*" ) assertCategoryUrlMatchesRegex( categorySearchRequest = CategoriesSearchRequest( diff --git a/src/test/kotlin/com/ecwid/apiclient/v3/entity/ProductsTest.kt b/src/test/kotlin/com/ecwid/apiclient/v3/entity/ProductsTest.kt index d97f608db..788d9b93f 100644 --- a/src/test/kotlin/com/ecwid/apiclient/v3/entity/ProductsTest.kt +++ b/src/test/kotlin/com/ecwid/apiclient/v3/entity/ProductsTest.kt @@ -242,7 +242,7 @@ class ProductsTest : BaseEntityTest() { // Searching products with different combinations of baseUrl and cleanUrls parameters assertProductUrlMatchesRegex( productSearchRequest = ByFilters(keyword = productCreateRequest.newProduct.sku), - urlPattern = "https://.*.company.site.*/products#!/Product-.*p.*" + urlPattern = "https://.*.company.site.*/products/Product-.*p.*" ) assertProductUrlMatchesRegex( productSearchRequest = ByFilters( @@ -256,7 +256,7 @@ class ProductsTest : BaseEntityTest() { cleanUrls = false, keyword = productCreateRequest.newProduct.sku ), - urlPattern = "https://.*.company.site.*/products#!/Product-.*/p/.*" + urlPattern = "https://.*.company.site.*/products/Product-.*/p/.*" ) assertProductUrlMatchesRegex( productSearchRequest = ByFilters(