mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-23 04:22:17 +00:00
Added tearDown method which resets the Context to null
This commit is contained in:
parent
04366d2b12
commit
8592e3bcbf
@ -41,6 +41,10 @@ public class ContextHolderTests extends TestCase {
|
||||
super.setUp();
|
||||
}
|
||||
|
||||
public void tearDown() {
|
||||
ContextHolder.setContext(null);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
junit.textui.TestRunner.run(ContextHolderTests.class);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user