mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Added tearDown() method to clear ContextHolder.
This commit is contained in:
parent
89cbc9988b
commit
47a2d03429
@ -68,4 +68,8 @@ public class AuthorizeTagAttributeTests extends TestCase {
|
||||
|
||||
ContextHolder.setContext(context);
|
||||
}
|
||||
|
||||
protected void tearDown() throws Exception {
|
||||
ContextHolder.setContext(null);
|
||||
}
|
||||
}
|
||||
|
@ -109,4 +109,8 @@ public class AuthorizeTagTests extends TestCase {
|
||||
|
||||
ContextHolder.setContext(context);
|
||||
}
|
||||
|
||||
protected void tearDown() throws Exception {
|
||||
ContextHolder.setContext(null);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user