Skip to content

Commit

Permalink
Exclude codenarc rule on test
Browse files Browse the repository at this point in the history
  • Loading branch information
DKarim committed Aug 28, 2023
1 parent 7f60503 commit 5651914
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import spock.lang.Subject
/**
* Tests for simple email service.
*/
@SuppressWarnings(['AbcMetric', 'JavaIoPackageAccess'])
@SuppressWarnings(['AbcMetric', 'JavaIoPackageAccess', 'UnnecessaryObjectReferences'])
class SimpleEmailServiceSpec extends Specification {

SesClient simpleEmailService = Mock(SesClient)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import spock.lang.Subject
/**
* Tests for simple email service.
*/
@SuppressWarnings(['AbcMetric', 'JavaIoPackageAccess'])
@SuppressWarnings(['AbcMetric', 'JavaIoPackageAccess', 'UnnecessaryObjectReferences'])
class SimpleEmailServiceSpec extends Specification {

AmazonSimpleEmailService simpleEmailService = Mock(AmazonSimpleEmailService)
Expand Down

0 comments on commit 5651914

Please sign in to comment.