cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1306878 - /cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Date Thu, 29 Mar 2012 14:23:10 GMT
Author: sergeyb
Date: Thu Mar 29 14:23:10 2012
New Revision: 1306878

URL: http://svn.apache.org/viewvc?rev=1306878&view=rev
Log:
[CXF-4154] Reverting change to JAXRSClientServerBookTest

Modified:
    cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java

Modified: cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java?rev=1306878&r1=1306877&r2=1306878&view=diff
==============================================================================
--- cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
(original)
+++ cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java
Thu Mar 29 14:23:10 2012
@@ -775,8 +775,7 @@ public class JAXRSClientServerBookTest e
         HttpURLConnection urlConnection = (HttpURLConnection)url.openConnection();
         urlConnection.setReadTimeout(30000); // 30 seconds tops
         urlConnection.setConnectTimeout(30000); // 30 second tops
-        urlConnection.addRequestProperty("Content-Type", "xxx/xxx");
-        urlConnection.addRequestProperty("Accept", "*/*");
+        urlConnection.addRequestProperty("Content-Type", "MissingSeparator");
         urlConnection.setRequestMethod("POST");
         assertEquals(415, urlConnection.getResponseCode());
     }



Mime
View raw message