Added tearDown() method to clear ContextHolder.

This commit is contained in:
Ben Alex 2004-03-23 00:35:43 +00:00
parent 89cbc9988b
commit 47a2d03429
2 changed files with 8 additions and 0 deletions

View File

@ -68,4 +68,8 @@ public class AuthorizeTagAttributeTests extends TestCase {
ContextHolder.setContext(context);
}
protected void tearDown() throws Exception {
ContextHolder.setContext(null);
}
}

View File

@ -109,4 +109,8 @@ public class AuthorizeTagTests extends TestCase {
ContextHolder.setContext(context);
}
protected void tearDown() throws Exception {
ContextHolder.setContext(null);
}
}