usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [7/8] incubator-usergrid git commit: Another test fix.
Date Mon, 20 Apr 2015 16:18:14 GMT
Another test fix.


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

Branch: refs/heads/master
Commit: 23febdf9a7f961fefa6675bd166466999c0f0969
Parents: f96f288
Author: Dave Johnson <dmjohnson@apigee.com>
Authored: Mon Apr 20 11:50:26 2015 -0400
Committer: Dave Johnson <dmjohnson@apigee.com>
Committed: Mon Apr 20 11:50:26 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/23febdf9/stack/rest/src/test/java/org/apache/usergrid/rest/management/ManagementResourceIT.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/management/ManagementResourceIT.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/management/ManagementResourceIT.java
index 651fcdf..cec172d 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/management/ManagementResourceIT.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/management/ManagementResourceIT.java
@@ -696,10 +696,10 @@ public class ManagementResourceIT extends AbstractRestIT {
                 .get( JsonNode.class );
             fail("Validation should have failed");
         } catch ( UniformInterfaceException actual ) {
-            assertEquals( 400, actual.getResponse().getStatus() );
+            assertEquals( 404, actual.getResponse().getStatus() );
             String errorMsg = actual.getResponse().getEntity( JsonNode.class ).get( "error_description"
).toString();
             logger.error( "ERROR: " + errorMsg );
-            assertTrue( errorMsg.contains( "Admin Users must login via" ) );
+            assertTrue( errorMsg.contains( "Cannot find Admin User" ) );
         }
 
 


Mime
View raw message