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