We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51a5393 commit 7ab0792Copy full SHA for 7ab0792
src/test/groovy/ru/mystamps/web/service/SeriesServiceImplTest.groovy
@@ -19,6 +19,7 @@ package ru.mystamps.web.service
19
20
import static io.qala.datagen.RandomShortApi.bool
21
import static io.qala.datagen.RandomShortApi.nullOr
22
+import static io.qala.datagen.RandomShortApi.positiveInteger
23
import static io.qala.datagen.RandomShortApi.positiveLong
24
25
import org.springframework.web.multipart.MultipartFile
@@ -1115,7 +1116,7 @@ class SeriesServiceImplTest extends Specification {
1115
1116
1117
def "findRecentlyAdded should pass arguments to dao"() {
1118
given:
- int expectedQuantity = 3
1119
+ int expectedQuantity = positiveInteger()
1120
and:
1121
String expectedLang = Random.lang()
1122
when:
0 commit comments