Inlined destroyContext method.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user