We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5623e8f commit c752fa2Copy full SHA for c752fa2
test/cn/jpush/api/push/model/notification/NotificationTest.java
@@ -52,7 +52,7 @@ public void testAlertIos() {
52
JsonObject ios = new JsonObject();
53
ios.add("alert", new JsonPrimitive("alert"));
54
ios.add("sound", new JsonPrimitive(""));
55
- ios.add("badge", new JsonPrimitive(1));
+ ios.add("badge", new JsonPrimitive("+1"));
56
json.add("ios", ios);
57
Assert.assertEquals("", json, notification.toJSON());
58
}
0 commit comments