cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor JAXRS20 test update
Date Fri, 15 Jul 2016 07:43:22 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes f83200649 -> 8501d7acf


Minor JAXRS20 test update


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/8501d7ac
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/8501d7ac
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/8501d7ac

Branch: refs/heads/3.1.x-fixes
Commit: 8501d7acfc537b449ee498f3500795d0e733d50b
Parents: f832006
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Jul 15 10:42:02 2016 +0300
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Jul 15 10:43:05 2016 +0300

----------------------------------------------------------------------
 .../apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/8501d7ac/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
index 2deddfa..c19472f 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRS20ClientServerBookTest.java
@@ -152,8 +152,8 @@ public class JAXRS20ClientServerBookTest extends AbstractBusClientServerTestBase
         Client client = ClientBuilder.newClient();
         client.register((Object)ClientFilterClientAndConfigCheck.class);
         client.property("clientproperty", "somevalue");
-        Invocation.Builder builder = client.target(address).request("application/xml");
-        builder.header("a", "b");
+        Invocation.Builder builder = client.target(address)
+            .request("application/xml").header("a", "b");
         Response r = builder.get();
         Book book = r.readEntity(Book.class);
         assertEquals(124L, book.getId());


Mime
View raw message