Remove dead code in AclAuthorizationStrategyImplTests

This commit is contained in:
Johnny Lim 2016-11-10 19:17:17 +09:00 committed by Rob Winch
parent 2cb38ae115
commit 3185876a7d
1 changed files with 0 additions and 1 deletions

View File

@ -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);