You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2015/06/12 23:01:16 UTC
[23/23] incubator-usergrid git commit: Fixes test for new 404 on app
not found
Fixes test for new 404 on app not found
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/f99c6762
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/f99c6762
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/f99c6762
Branch: refs/heads/USERGRID-744
Commit: f99c6762ef23b30690432d309597538e224d4aa9
Parents: 43c7b3c
Author: Todd Nine <tn...@apigee.com>
Authored: Fri Jun 12 15:00:44 2015 -0600
Committer: Todd Nine <tn...@apigee.com>
Committed: Fri Jun 12 15:00:44 2015 -0600
----------------------------------------------------------------------
.../java/org/apache/usergrid/rest/management/RegistrationIT.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/f99c6762/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java b/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
index fe7ff86..4d85ade 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
@@ -132,7 +132,7 @@ public class RegistrationIT extends AbstractRestIT {
.queryParam("access_token", t).accept(MediaType.APPLICATION_JSON)
.type(MediaType.APPLICATION_FORM_URLENCODED).put(String.class, form);
} catch (UniformInterfaceException e) {
- assertEquals("Should receive a 400 Not Found", 400, e.getResponse().getStatus());
+ assertEquals("Should receive a 404 Not Found", 404, e.getResponse().getStatus());
}
} finally {
setTestProperties(originalProperties);