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