usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [15/50] [abbrv] git commit: Added fix for one of the tests that would never pass due to status mismatch.
Date Tue, 25 Feb 2014 06:21:29 GMT
Added fix for one of the tests that would never pass due to status mismatch.


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/7a8ec962
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/7a8ec962
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/7a8ec962

Branch: refs/pull/60/head
Commit: 7a8ec962f075301b5c3f58a7df1ab2ce66c75350
Parents: d1a4c0d
Author: GERey <greyes@apigee.com>
Authored: Thu Feb 6 13:42:50 2014 -0800
Committer: GERey <greyes@apigee.com>
Committed: Thu Feb 6 13:42:50 2014 -0800

----------------------------------------------------------------------
 .../java/org/usergrid/rest/management/ManagementResourceIT.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/7a8ec962/stack/rest/src/test/java/org/usergrid/rest/management/ManagementResourceIT.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/usergrid/rest/management/ManagementResourceIT.java
b/stack/rest/src/test/java/org/usergrid/rest/management/ManagementResourceIT.java
index f1563f3..0d6f8e0 100644
--- a/stack/rest/src/test/java/org/usergrid/rest/management/ManagementResourceIT.java
+++ b/stack/rest/src/test/java/org/usergrid/rest/management/ManagementResourceIT.java
@@ -530,7 +530,7 @@ public class ManagementResourceIT extends AbstractRestIT {
 
     @Test
     public void exportCallSuccessful() throws Exception {
-        Status responseStatus = Status.ACCEPTED;
+        Status responseStatus = Status.OK;
         JsonNode node = null;
 
         HashMap<String, Object> payload = new HashMap<String, Object>();
@@ -557,6 +557,6 @@ public class ManagementResourceIT extends AbstractRestIT {
             responseStatus = uie.getResponse().getClientResponseStatus();
         }
 
-       // assertEquals( Status.OK, responseStatus );
+        assertEquals( Status.OK, responseStatus );
     }
 }


Mime
View raw message