cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1164146 - /cxf/branches/2.3.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Date Thu, 01 Sep 2011 16:36:39 GMT
Author: sergeyb
Date: Thu Sep  1 16:36:39 2011
New Revision: 1164146

URL: http://svn.apache.org/viewvc?rev=1164146&view=rev
Log:
Content-Type can be returned for emtpty responses on 2.3.x

Modified:
    cxf/branches/2.3.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java

Modified: cxf/branches/2.3.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java?rev=1164146&r1=1164145&r2=1164146&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
(original)
+++ cxf/branches/2.3.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Thu Sep  1 16:36:39 2011
@@ -534,11 +534,9 @@ public class JAXRSClientServerBookTest e
                              + PORT + "/bookstore/emptyput");
         Response response = wc.put(null);
         assertEquals(204, response.getStatus());
-        assertNull(response.getMetadata().getFirst("Content-Type"));
         
         response = wc.put("");
         assertEquals(204, response.getStatus());
-        assertNull(response.getMetadata().getFirst("Content-Type"));
     }
     
     @Test



Mime
View raw message