Optimize and refactor (#2302)
This commit is contained in:
committed by
GitHub
parent
4e95722017
commit
f8bf4038f1
@@ -41,7 +41,7 @@ public class ExpressionUtilityObjectsControllerIntegrationTest {
|
||||
@Autowired
|
||||
private Filter springSecurityFilterChain;
|
||||
|
||||
protected RequestPostProcessor testUser() {
|
||||
private RequestPostProcessor testUser() {
|
||||
return user("user1").password("user1Pass").roles("USER");
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ public class LayoutDialectControllerIntegrationTest {
|
||||
@Autowired
|
||||
private Filter springSecurityFilterChain;
|
||||
|
||||
protected RequestPostProcessor testUser() {
|
||||
private RequestPostProcessor testUser() {
|
||||
return user("user1").password("user1Pass").roles("USER");
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ public class CsrfEnabledIntegrationTest {
|
||||
@Autowired
|
||||
private Filter springSecurityFilterChain;
|
||||
|
||||
protected RequestPostProcessor testUser() {
|
||||
private RequestPostProcessor testUser() {
|
||||
return user("user1").password("user1Pass").roles("USER");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user