Removed irrelevant CAS stuff from equalsWhenEqual test.
This commit is contained in:
parent
cce36df79e
commit
b8a0f97fde
|
@ -93,9 +93,6 @@ public class AnonymousAuthenticationTokenTests extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testEqualsWhenEqual() {
|
public void testEqualsWhenEqual() {
|
||||||
List proxyList1 = new Vector();
|
|
||||||
proxyList1.add("https://localhost/newPortal/j_acegi_cas_security_check");
|
|
||||||
|
|
||||||
AnonymousAuthenticationToken token1 = new AnonymousAuthenticationToken("key", "Test",
|
AnonymousAuthenticationToken token1 = new AnonymousAuthenticationToken("key", "Test",
|
||||||
new GrantedAuthority[] {new GrantedAuthorityImpl("ROLE_ONE"), new GrantedAuthorityImpl("ROLE_TWO")});
|
new GrantedAuthority[] {new GrantedAuthorityImpl("ROLE_ONE"), new GrantedAuthorityImpl("ROLE_TWO")});
|
||||||
|
|
||||||
|
|
|
@ -79,9 +79,6 @@ public class RememberMeAuthenticationTokenTests extends TestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testEqualsWhenEqual() {
|
public void testEqualsWhenEqual() {
|
||||||
List proxyList1 = new Vector();
|
|
||||||
proxyList1.add("https://localhost/newPortal/j_acegi_cas_security_check");
|
|
||||||
|
|
||||||
RememberMeAuthenticationToken token1 = new RememberMeAuthenticationToken("key", "Test",
|
RememberMeAuthenticationToken token1 = new RememberMeAuthenticationToken("key", "Test",
|
||||||
new GrantedAuthority[] {new GrantedAuthorityImpl("ROLE_ONE"), new GrantedAuthorityImpl("ROLE_TWO")});
|
new GrantedAuthority[] {new GrantedAuthorityImpl("ROLE_ONE"), new GrantedAuthorityImpl("ROLE_TWO")});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue