You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2015/08/31 13:32:23 UTC

cxf git commit: fix the assertEquals' param order

Repository: cxf
Updated Branches:
  refs/heads/master 5b9e19e8f -> da2822b8a


fix the assertEquals' param order


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

Branch: refs/heads/master
Commit: da2822b8ac760f3ca969f2bbde12e641869e9bf2
Parents: 5b9e19e
Author: Akitoshi Yoshida <ay...@apache.org>
Authored: Mon Aug 31 13:32:07 2015 +0200
Committer: Akitoshi Yoshida <ay...@apache.org>
Committed: Mon Aug 31 13:32:07 2015 +0200

----------------------------------------------------------------------
 .../jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/da2822b8/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java
----------------------------------------------------------------------
diff --git a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java
index c40f0ac..5583b5f 100644
--- a/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java
+++ b/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/description/AbstractSwagger2ServiceDescriptionTest.java
@@ -97,8 +97,8 @@ public abstract class AbstractSwagger2ServiceDescriptionTest extends AbstractBus
             final Response r = client.get();
             assertEquals(Status.OK.getStatusCode(), r.getStatus());
             JSONAssert.assertEquals(
-                IOUtils.readStringFromStream((InputStream)r.getEntity()), 
                 getExpectedValue("swagger2-json.txt", getPort()),
+                IOUtils.readStringFromStream((InputStream)r.getEntity()),
                 false);
         } finally {
             client.close();