Skip to content

Commit 6073693

Browse files
committed
SeriesServiceImplTest: fix test.
Correction for 8508318 commit. Addressed to #301
1 parent 8508318 commit 6073693

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,8 @@ class SeriesServiceImplTest extends Specification {
527527
def "add() should remove image when exception occurs"() {
528528
given:
529529
ImageInfoDto expectedImageInfo = new ImageInfoDto(654, 'JPEG')
530+
and:
531+
seriesDao.add(_ as AddSeriesDbDto) >> 111
530532
and:
531533
imageService.addToSeries(_ as Integer, _ as Integer) >> { throw new IllegalStateException() }
532534
when:

0 commit comments

Comments
 (0)