File tree Expand file tree Collapse file tree
src/test/kotlin/com/ecwid/apiclient/v3/entity Expand file tree Collapse file tree Original file line number Diff line number Diff 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.*/Category-.*- c.*"
182+ urlPattern = " https://.*.company.site.*/products#!/ Category-.*c.*"
183183 )
184184 assertCategoryUrlMatchesRegex(
185185 categorySearchRequest = CategoriesSearchRequest (
@@ -601,7 +601,8 @@ private fun generateTestCategory(
601601 seoDescriptionTranslated = LocalizedValueMap (
602602 " ru" to " " ,
603603 " en" to " "
604- )
604+ ),
605+ customSlug = " "
605606 )
606607}
607608
Original file line number Diff line number Diff 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.*/Product-.*- p.*"
245+ urlPattern = " https://.*.company.site.*/products#!/ Product-.*p.*"
246246 )
247247 assertProductUrlMatchesRegex(
248248 productSearchRequest = ByFilters (
You can’t perform that action at this time.
0 commit comments