usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [15/17] incubator-usergrid git commit: tests are passing
Date Mon, 05 Jan 2015 19:36:08 GMT
tests are passing


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

Branch: refs/heads/two-dot-o
Commit: 6c569d82b2c7350c7de2af30754d058fb8e96df8
Parents: d1f4a19
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Sat Jan 3 18:13:37 2015 -0700
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Sat Jan 3 18:13:37 2015 -0700

----------------------------------------------------------------------
 .../rest/applications/collection/users/UserResourceIT.java       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/6c569d82/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
index 35e338e..61a8bc2 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
@@ -721,7 +721,9 @@ public class UserResourceIT extends org.apache.usergrid.rest.test.resource2point
 
     @Test
     public void test_PUT_password_fail() {
-
+        Entity entity =usersResource.post(new User("edanuff", "edanuff", "edanuff@email.com",
"sesame"));
+        this.app().token().post(new Token("edanuff","sesame"));
+        refreshIndex();
         boolean fail = false;
         try {
             Entity changeResponse = usersResource.entity("edanuff").collection("password").post(new
ChangePasswordEntity("foo", "bar"));


Mime
View raw message