Skip to content

Commit 97538e9

Browse files
committed
CollectionServiceImplTest: propagate Random.date().
Addressed to #300 No functional changes.
1 parent f19aee0 commit 97538e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class CollectionServiceImplTest extends Specification {
249249

250250
def 'countUpdatedSince() should invoke dao, pass argument and return result from dao'() {
251251
given:
252-
Date expectedDate = new Date()
252+
Date expectedDate = Random.date()
253253
long expectedResult = positiveLong()
254254
when:
255255
long result = service.countUpdatedSince(expectedDate)

0 commit comments

Comments
 (0)