usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject [2/4] incubator-usergrid git commit: fixed app level user token method
Date Tue, 06 Jan 2015 04:38:41 GMT
fixed app level user token method


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

Branch: refs/heads/Usergrid-310
Commit: ac4e0ae31601096cf4b6ce9e4556d8405a62b83c
Parents: 132b630
Author: Rod Simpson <rod@apigee.com>
Authored: Mon Jan 5 21:10:03 2015 -0700
Committer: Rod Simpson <rod@apigee.com>
Committed: Mon Jan 5 21:10:03 2015 -0700

----------------------------------------------------------------------
 .../apache/usergrid/rest/test/resource2point0/AbstractRestIT.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/ac4e0ae3/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/AbstractRestIT.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/AbstractRestIT.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/AbstractRestIT.java
index 370823d..339bb8b 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/AbstractRestIT.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/AbstractRestIT.java
@@ -121,7 +121,7 @@ public class AbstractRestIT extends JerseyTest {
 
 
     protected Token getAppUserToken(String username, String password){
-        return this.clientSetup.getRestClient().token().post(new Token(username,password));
+        return this.app().token().post(new Token(username,password));
     }
 
     public void refreshIndex() {


Mime
View raw message