Skip to content

Commit 3701332

Browse files
committed
[DO NOT MERGE] make codenarc-maven-plugin fail.
1 parent 66fde61 commit 3701332

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,6 @@ class CategoryServiceImplTest extends Specification {
399399
thrown IllegalArgumentException
400400
}
401401

402-
@SuppressWarnings(['ClosureAsLastMethodParameter', 'UnnecessaryReturnKeyword'])
403402
def "getStatisticsOf() should pass arguments to dao"() {
404403
given:
405404
Integer expectedCollectionId = 15

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class CollectionServiceImplTest extends Specification {
9696
@SuppressWarnings(['ClosureAsLastMethodParameter', 'FactoryMethodName', 'UnnecessaryReturnKeyword'])
9797
def "createCollection() should assign updated at to current date"() {
9898
when:
99-
service.createCollection(123, 'any-login')
99+
service.createCollection(123, "any-login")
100100
then:
101101
1 * collectionDao.add({ AddCollectionDbDto collection ->
102102
assert DateUtils.roughlyEqual(collection?.updatedAt, new Date())

0 commit comments

Comments
 (0)