mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-09 11:53:30 +00:00
Inlined destroyContext method.
This commit is contained in:
parent
48e2d5ad62
commit
503e426707
@ -71,10 +71,6 @@ public class GetAllContactsTests extends AbstractTransactionalSpringContextTests
|
||||
}
|
||||
}
|
||||
|
||||
private static void destroySecureContext() {
|
||||
SecurityContextHolder.clearContext();
|
||||
}
|
||||
|
||||
protected String[] getConfigLocations() {
|
||||
setAutowireMode(AutowireCapableBeanFactory.AUTOWIRE_BY_NAME);
|
||||
|
||||
@ -125,7 +121,7 @@ public class GetAllContactsTests extends AbstractTransactionalSpringContextTests
|
||||
}
|
||||
|
||||
protected void onTearDownInTransaction() {
|
||||
destroySecureContext();
|
||||
SecurityContextHolder.clearContext();
|
||||
}
|
||||
|
||||
public void setContactManager(ContactManager contactManager) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user