Added tearDown() method to clear ContextHolder.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user