Skip to content

Commit 11784f1

Browse files
committed
SeriesServiceImplTest: propagate Random.date().
Addressed to #300 No functional changes.
1 parent 0934674 commit 11784f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ class SeriesServiceImplTest extends Specification {
626626

627627
def "countAddedSince() should invoke dao, pass argument and return result from dao"() {
628628
given:
629-
Date expectedDate = new Date()
629+
Date expectedDate = Random.date()
630630
and:
631631
long expectedResult = positiveLong()
632632
when:

0 commit comments

Comments
 (0)