tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject svn commit: r1607812 - /tomee/tomee/branches/tomee-1.7.x/server/openejb-cxf-rs/src/test/java/org/apache/openejb/server/cxf/rs/EJBAccessExceptionMapperTest.java
Date Fri, 04 Jul 2014 09:55:39 GMT
Author: andygumbrecht
Date: Fri Jul  4 09:55:38 2014
New Revision: 1607812

URL: http://svn.apache.org/r1607812
Log:
Test is working as expected now.

Modified:
    tomee/tomee/branches/tomee-1.7.x/server/openejb-cxf-rs/src/test/java/org/apache/openejb/server/cxf/rs/EJBAccessExceptionMapperTest.java

Modified: tomee/tomee/branches/tomee-1.7.x/server/openejb-cxf-rs/src/test/java/org/apache/openejb/server/cxf/rs/EJBAccessExceptionMapperTest.java
URL: http://svn.apache.org/viewvc/tomee/tomee/branches/tomee-1.7.x/server/openejb-cxf-rs/src/test/java/org/apache/openejb/server/cxf/rs/EJBAccessExceptionMapperTest.java?rev=1607812&r1=1607811&r2=1607812&view=diff
==============================================================================
--- tomee/tomee/branches/tomee-1.7.x/server/openejb-cxf-rs/src/test/java/org/apache/openejb/server/cxf/rs/EJBAccessExceptionMapperTest.java
(original)
+++ tomee/tomee/branches/tomee-1.7.x/server/openejb-cxf-rs/src/test/java/org/apache/openejb/server/cxf/rs/EJBAccessExceptionMapperTest.java
Fri Jul  4 09:55:38 2014
@@ -65,7 +65,7 @@ public class EJBAccessExceptionMapperTes
     @Test
     public void rest() {
         final Response response = WebClient.create("http://localhost:4204/openejb-cxf-rs").path("/ejbsecu/rest").get();
-        assertEquals(200, response.getStatus()); //TODO - Should this be 200 or 403?
+        assertEquals(403, response.getStatus());
     }
 
 



Mime
View raw message