Skip to content

Commit c752fa2

Browse files
author
Javen
committed
Fix test bug: ios badge now is '+1'
1 parent 5623e8f commit c752fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cn/jpush/api/push/model/notification/NotificationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void testAlertIos() {
5252
JsonObject ios = new JsonObject();
5353
ios.add("alert", new JsonPrimitive("alert"));
5454
ios.add("sound", new JsonPrimitive(""));
55-
ios.add("badge", new JsonPrimitive(1));
55+
ios.add("badge", new JsonPrimitive("+1"));
5656
json.add("ios", ios);
5757
Assert.assertEquals("", json, notification.toJSON());
5858
}

0 commit comments

Comments
 (0)