mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-05 10:12:36 +00:00
Removed printStackTrace from expected exception.
This commit is contained in:
parent
09cef7adc2
commit
c378779610
@ -32,6 +32,7 @@ import org.acegisecurity.MockApplicationContext;
|
|||||||
* The HttpSessionEventPublisher tests
|
* The HttpSessionEventPublisher tests
|
||||||
*
|
*
|
||||||
* @author Ray Krueger
|
* @author Ray Krueger
|
||||||
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class HttpSessionEventPublisherTests extends TestCase {
|
public class HttpSessionEventPublisherTests extends TestCase {
|
||||||
//~ Methods ================================================================
|
//~ Methods ================================================================
|
||||||
@ -90,7 +91,7 @@ public class HttpSessionEventPublisherTests extends TestCase {
|
|||||||
pub.getContext();
|
pub.getContext();
|
||||||
fail("IllegalArgumentException expected, the context is null");
|
fail("IllegalArgumentException expected, the context is null");
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
e.printStackTrace();
|
assertTrue(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user