Skip to content

Commit 7ab0792

Browse files
committed
SeriesServiceImplTest: propagate positiveInteger().
Addressed to #300 No functional changes.
1 parent 51a5393 commit 7ab0792

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/groovy/ru/mystamps/web/service/SeriesServiceImplTest.groovy

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package ru.mystamps.web.service
1919

2020
import static io.qala.datagen.RandomShortApi.bool
2121
import static io.qala.datagen.RandomShortApi.nullOr
22+
import static io.qala.datagen.RandomShortApi.positiveInteger
2223
import static io.qala.datagen.RandomShortApi.positiveLong
2324

2425
import org.springframework.web.multipart.MultipartFile
@@ -1115,7 +1116,7 @@ class SeriesServiceImplTest extends Specification {
11151116

11161117
def "findRecentlyAdded should pass arguments to dao"() {
11171118
given:
1118-
int expectedQuantity = 3
1119+
int expectedQuantity = positiveInteger()
11191120
and:
11201121
String expectedLang = Random.lang()
11211122
when:

0 commit comments

Comments
 (0)