Tidying: removed unused intermediate variable.
This commit is contained in:
parent
46388af1ea
commit
f1656ee7fd
|
@ -157,9 +157,6 @@ public class RememberMeProcessingFilterTests extends TestCase {
|
||||||
executeFilterInContainerSimulator(new MockFilterConfig(), filter,
|
executeFilterInContainerSimulator(new MockFilterConfig(), filter,
|
||||||
request, new MockHttpServletResponse(), new MockFilterChain(true));
|
request, new MockHttpServletResponse(), new MockFilterChain(true));
|
||||||
|
|
||||||
Authentication auth = SecurityContextHolder.getContext()
|
|
||||||
.getAuthentication();
|
|
||||||
|
|
||||||
// Ensure filter setup with our remembered authentication object
|
// Ensure filter setup with our remembered authentication object
|
||||||
assertEquals(remembered,
|
assertEquals(remembered,
|
||||||
SecurityContextHolder.getContext().getAuthentication());
|
SecurityContextHolder.getContext().getAuthentication());
|
||||||
|
|
Loading…
Reference in New Issue