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 2014/12/08 23:17:31 UTC

[2/5] incubator-usergrid git commit: fix apns

fix apns


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

Branch: refs/heads/two-dot-o
Commit: 622491547fe0ea42a7c7bbd63611c804023caa7f
Parents: 461c192
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Dec 8 12:34:14 2014 -0700
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Dec 8 12:34:14 2014 -0700

----------------------------------------------------------------------
 .../services/notifications/apns/NotificationsServiceIT.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/62249154/stack/services/src/test/java/org/apache/usergrid/services/notifications/apns/NotificationsServiceIT.java
----------------------------------------------------------------------
diff --git a/stack/services/src/test/java/org/apache/usergrid/services/notifications/apns/NotificationsServiceIT.java b/stack/services/src/test/java/org/apache/usergrid/services/notifications/apns/NotificationsServiceIT.java
index 3f42777..3b9206e 100644
--- a/stack/services/src/test/java/org/apache/usergrid/services/notifications/apns/NotificationsServiceIT.java
+++ b/stack/services/src/test/java/org/apache/usergrid/services/notifications/apns/NotificationsServiceIT.java
@@ -191,8 +191,8 @@ public class NotificationsServiceIT extends AbstractServiceNotificationIT {
         entity = results.getEntitiesMap().get(notification.getUuid());
         assertNotNull(entity);
 
-        checkReceipts(notification, 1);
-        checkStatistics(notification, 1, 0);
+        checkReceipts(notification, 2);
+        checkStatistics(notification, 2, 0);
     }
 
     @Test
@@ -579,7 +579,7 @@ public class NotificationsServiceIT extends AbstractServiceNotificationIT {
 
         app.getEntityManager().refreshIndex();
 
-        checkReceipts(notification, 1);
+        checkReceipts(notification, 2);
     }
 
     @Ignore("todo: how can I mock this?")