Fixed wrong method call in test.

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

Branch: refs/heads/UG-rest-test-framework-overhaul
Commit: e826cc201cddc0f6f1d919e12f6c4cbb2e92aad2
Parents: 216e050
Author: grey <[email protected]>
Authored: Tue Nov 4 15:55:52 2014 -0800
Committer: grey <[email protected]>
Committed: Tue Nov 4 15:55:52 2014 -0800

----------------------------------------------------------------------
 .../persistence/collection/impl/EntityVersionCleanupTaskTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/e826cc20/stack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/impl/EntityVersionCleanupTaskTest.java
----------------------------------------------------------------------
diff --git 
a/stack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/impl/EntityVersionCleanupTaskTest.java
 
b/stack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/impl/EntityVersionCleanupTaskTest.java
index 1c7d510..eae1c54 100644
--- 
a/stack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/impl/EntityVersionCleanupTaskTest.java
+++ 
b/stack/corepersistence/collection/src/test/java/org/apache/usergrid/persistence/collection/impl/EntityVersionCleanupTaskTest.java
@@ -742,7 +742,7 @@ public class EntityVersionCleanupTaskTest {
 
 
         try {
-            cleanupTask.call();
+            cleanupTask.rejected();
         }catch(Exception e){
             Assert.fail(e.getMessage());
         }

Reply via email to