Skip to content

Commit

Permalink
test (fix sonar issue before pipeline) (#730)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabrice B <[email protected]>
  • Loading branch information
FBibonne and Fabrice B authored Aug 19, 2024
1 parent 6223962 commit 1e1c45d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ sonar.issue.ignore.multicriteria=ignoreMethodNameConventionForTest, ignoreMethod

#ignoreMethodNameConventionForTest
sonar.issue.ignore.multicriteria.ignoreMethodNameConventionForTest.ruleKey=java:S100
sonar.issue.ignore.multicriteria.ignoreMethodNameConventionForTest.resourceKey=src/test/java/**/*
sonar.issue.ignore.multicriteria.ignoreMethodNameConventionForTest.resourceKey=**/*Test*

#ignoreMethodeNameForSecurity
sonar.issue.ignore.multicriteria.ignoreMethodeNameForSecurity.ruleKey=java:S100
sonar.issue.ignore.multicriteria.ignoreMethodeNameForSecurity.resourceKey=src/main/java/fr/insee/rmes/config/auth/security/**/*
sonar.issue.ignore.multicriteria.ignoreMethodeNameForSecurity.resourceKey=fr/insee/rmes/config/auth/security/**/*
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
import org.springframework.security.config.core.GrantedAuthorityDefaults;
Expand Down Expand Up @@ -171,6 +170,4 @@ private interface RoleClaim{
private interface ArrayOfRoles{
Stream<String> stream();
}


}

0 comments on commit 1e1c45d

Please sign in to comment.