mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-24 13:02:13 +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();
|
super.setUp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void tearDown() {
|
||||||
|
ContextHolder.setContext(null);
|
||||||
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
junit.textui.TestRunner.run(ContextHolderTests.class);
|
junit.textui.TestRunner.run(ContextHolderTests.class);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user