From b8a0f97fde2a1532852c772bdbad37356b2ab07d Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 22 Feb 2007 23:29:01 +0000 Subject: [PATCH] Removed irrelevant CAS stuff from equalsWhenEqual test. --- .../providers/anonymous/AnonymousAuthenticationTokenTests.java | 3 --- .../rememberme/RememberMeAuthenticationTokenTests.java | 3 --- 2 files changed, 6 deletions(-) diff --git a/core/src/test/java/org/acegisecurity/providers/anonymous/AnonymousAuthenticationTokenTests.java b/core/src/test/java/org/acegisecurity/providers/anonymous/AnonymousAuthenticationTokenTests.java index 207905b439..cba7df2382 100644 --- a/core/src/test/java/org/acegisecurity/providers/anonymous/AnonymousAuthenticationTokenTests.java +++ b/core/src/test/java/org/acegisecurity/providers/anonymous/AnonymousAuthenticationTokenTests.java @@ -93,9 +93,6 @@ public class AnonymousAuthenticationTokenTests extends TestCase { } public void testEqualsWhenEqual() { - List proxyList1 = new Vector(); - proxyList1.add("https://localhost/newPortal/j_acegi_cas_security_check"); - AnonymousAuthenticationToken token1 = new AnonymousAuthenticationToken("key", "Test", new GrantedAuthority[] {new GrantedAuthorityImpl("ROLE_ONE"), new GrantedAuthorityImpl("ROLE_TWO")}); diff --git a/core/src/test/java/org/acegisecurity/providers/rememberme/RememberMeAuthenticationTokenTests.java b/core/src/test/java/org/acegisecurity/providers/rememberme/RememberMeAuthenticationTokenTests.java index c063df3441..42326bc2f1 100644 --- a/core/src/test/java/org/acegisecurity/providers/rememberme/RememberMeAuthenticationTokenTests.java +++ b/core/src/test/java/org/acegisecurity/providers/rememberme/RememberMeAuthenticationTokenTests.java @@ -79,9 +79,6 @@ public class RememberMeAuthenticationTokenTests extends TestCase { } public void testEqualsWhenEqual() { - List proxyList1 = new Vector(); - proxyList1.add("https://localhost/newPortal/j_acegi_cas_security_check"); - RememberMeAuthenticationToken token1 = new RememberMeAuthenticationToken("key", "Test", new GrantedAuthority[] {new GrantedAuthorityImpl("ROLE_ONE"), new GrantedAuthorityImpl("ROLE_TWO")});