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…
Reference in New Issue