Skip to content

Commit

Permalink
ECWID-147482 testing stuffs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlecwid committed Aug 26, 2024
1 parent 983d696 commit 044da5d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/kotlin/com/ecwid/apiclient/v3/entity/ProductsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ import com.ecwid.apiclient.v3.dto.product.result.GetProductFiltersResult.OptionF
import com.ecwid.apiclient.v3.exception.EcwidApiException
import com.ecwid.apiclient.v3.util.*
import org.junit.jupiter.api.*
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Assertions.*
import java.io.FileInputStream
import java.nio.file.Files
import java.util.*
Expand Down Expand Up @@ -1271,7 +1270,7 @@ class ProductsTest : BaseEntityTest() {
assertEquals(1, searchProducts.total)

val url = searchProducts.items[0].url ?: ""
assertTrue(
assertFalse(
url.matches(Regex(urlPattern)),
"Url '$url' is not matching regex pattern '$urlPattern'"
)
Expand Down

0 comments on commit 044da5d

Please sign in to comment.