You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2015/03/24 23:33:49 UTC

[04/17] incubator-usergrid git commit: [USERGRID-493] Made tests use a superuser token by default. If they need other kinds of tokens then they can set them in the tests according to their needs. Fixed

[USERGRID-493] Made tests use a superuser token by default. If they need other kinds of tokens then they can set them in the tests according to their needs.
Fixed


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

Branch: refs/heads/two-dot-o-dev
Commit: 298bfcf1cb3a02d8fd10d02d6eab46cdd14b20c9
Parents: 3eae925
Author: GERey <gr...@apigee.com>
Authored: Thu Mar 19 16:08:34 2015 -0700
Committer: GERey <gr...@apigee.com>
Committed: Thu Mar 19 16:08:34 2015 -0700

----------------------------------------------------------------------
 .../org/apache/usergrid/rest/test/resource2point0/ClientSetup.java  | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/298bfcf1/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/ClientSetup.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/ClientSetup.java b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/ClientSetup.java
index 252f212..210284b 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/ClientSetup.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/test/resource2point0/ClientSetup.java
@@ -109,7 +109,6 @@ public class ClientSetup implements TestRule {
         clientCredentials = restClient.management().orgs().organization( orgName ).credentials().get();
 
         Token token = restClient.management().token().post(Token.class,new Token(username,username));
-        restClient.management().token().setToken( token );
 
         restClient.management().orgs().organization(organization.getName()).app().post(new Application(appName));