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/02/11 22:18:16 UTC

[07/25] incubator-usergrid git commit: roles/role fix

roles/role 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/6dc62edf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/6dc62edf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/6dc62edf

Branch: refs/heads/USERGRID-273
Commit: 6dc62edfc0a625a070497acfa5ab6b21f53c9093
Parents: e4cb321
Author: Rod Simpson <ro...@apigee.com>
Authored: Wed Jan 21 17:58:33 2015 -0700
Committer: Rod Simpson <ro...@apigee.com>
Committed: Wed Jan 21 17:58:33 2015 -0700

----------------------------------------------------------------------
 .../rest/applications/collection/groups/GroupResourceIT.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/6dc62edf/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
index ed6876b..50e670e 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/groups/GroupResourceIT.java
@@ -272,7 +272,7 @@ public class GroupResourceIT extends AbstractRestIT {
         this.refreshIndex();
 
         //3. add role to the group
-        Entity response = this.app().collection("role").entity(role).connection().collection("groups").entity(group).post();
+        Entity response = this.app().collection("roles").entity(role).connection().collection("groups").entity(group).post();
         assertEquals(response.get("name"), groupName);
         this.refreshIndex();