commit | eb87faf1f984fcddf25404e71fa94ca4dcfaf15c | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Sun Jan 09 03:48:55 2011 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Sun Jan 09 03:48:55 2011 +0000 |
tree | 8ebf2ebcbe2225d7793307800e81b1618bdd035f | |
parent | d7f9433e781a433e99ae45eb898eed089bbfc09b [diff] |
FELIX-2768 Adapt unit test: sendError is not called but only setStatus git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1056883 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/http/base/src/test/java/org/apache/felix/http/base/internal/handler/ServletHandlerTest.java b/http/base/src/test/java/org/apache/felix/http/base/internal/handler/ServletHandlerTest.java index eb7124d..abb49b4 100644 --- a/http/base/src/test/java/org/apache/felix/http/base/internal/handler/ServletHandlerTest.java +++ b/http/base/src/test/java/org/apache/felix/http/base/internal/handler/ServletHandlerTest.java
@@ -133,7 +133,7 @@ Assert.assertTrue(result); Mockito.verify(this.servlet, Mockito.never()).service(req, res); - Mockito.verify(res).sendError(HttpServletResponse.SC_FORBIDDEN); + Mockito.verify(res).setStatus(HttpServletResponse.SC_FORBIDDEN); } @Test