Skip to content

Commit 1739c34

Browse files
committed
CollectionServiceImplTest: propagate bool().
Addressed to #300 No functional changes.
1 parent d01eafe commit 1739c34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
*/
1818
package ru.mystamps.web.service
1919

20+
import static io.qala.datagen.RandomShortApi.bool
2021
import static io.qala.datagen.RandomShortApi.positiveLong
2122

2223
import spock.lang.Specification
@@ -211,7 +212,7 @@ class CollectionServiceImplTest extends Specification {
211212
and:
212213
Integer expectedSeriesId = Random.id()
213214
and:
214-
boolean expectedResult = true
215+
boolean expectedResult = bool()
215216
when:
216217
boolean serviceResult = service.isSeriesInCollection(expectedUserId, expectedSeriesId)
217218
then:

0 commit comments

Comments
 (0)