Fix notification test ( receipts are only created if debug = true ).
Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/30266e13 Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/30266e13 Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/30266e13 Branch: refs/heads/master Commit: 30266e13dd8055fd3c52689fa2b15020de98b015 Parents: 22a8d05 Author: Michael Russo <mru...@apigee.com> Authored: Fri Apr 15 07:31:44 2016 +0200 Committer: Michael Russo <mru...@apigee.com> Committed: Fri Apr 15 07:31:44 2016 +0200 ---------------------------------------------------------------------- .../services/notifications/gcm/NotificationsServiceIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/30266e13/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java ---------------------------------------------------------------------- diff --git a/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java b/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java index 6ba237d..8782fe3 100644 --- a/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java +++ b/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java @@ -150,7 +150,7 @@ public class NotificationsServiceIT extends AbstractServiceNotificationIT { payloads.put(notifier.getUuid().toString(), payload); app.put("payloads", payloads); app.put("queued", System.currentTimeMillis()); - app.put("debug", false); + app.put("debug", true); app.put("expire", System.currentTimeMillis() + 300000); // add 5 minutes to current time Entity e = app.testRequest(ServiceAction.POST, 1, "devices", device1.getUuid(), "notifications").getEntity();