Skip to content

Commit 71213dd

Browse files
committed
ImageServiceImplTest: remove useless test.
There are other tests that will fail if we won't invoke dao. No functional changes.
1 parent 5c98e8f commit 71213dd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,6 @@ class ImageServiceImplTest extends Specification {
8282
thrown IllegalStateException
8383
}
8484

85-
def "save() should pass image to image dao"() {
86-
when:
87-
service.save(multipartFile)
88-
then:
89-
1 * imageDao.add(_ as String) >> 18
90-
}
91-
9285
@Unroll
9386
@SuppressWarnings([
9487
'ClosureAsLastMethodParameter',

0 commit comments

Comments
 (0)