Remove dead code in AclAuthorizationStrategyImplTests
This commit is contained in:
parent
2cb38ae115
commit
3185876a7d
|
@ -45,7 +45,6 @@ public class AclAuthorizationStrategyImplTests {
|
||||||
@Before
|
@Before
|
||||||
public void setup() {
|
public void setup() {
|
||||||
authority = new SimpleGrantedAuthority("ROLE_AUTH");
|
authority = new SimpleGrantedAuthority("ROLE_AUTH");
|
||||||
strategy = new AclAuthorizationStrategyImpl(authority);
|
|
||||||
TestingAuthenticationToken authentication = new TestingAuthenticationToken("foo", "bar", Arrays.asList(authority));
|
TestingAuthenticationToken authentication = new TestingAuthenticationToken("foo", "bar", Arrays.asList(authority));
|
||||||
authentication.setAuthenticated(true);
|
authentication.setAuthenticated(true);
|
||||||
SecurityContextHolder.getContext().setAuthentication(authentication);
|
SecurityContextHolder.getContext().setAuthentication(authentication);
|
||||||
|
|
Loading…
Reference in New Issue