Skip to content

Commit 25999eb

Browse files
committed
add subtitle to NotificationTest
1 parent 7279405 commit 25999eb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/test/java/cn/jpush/api/push/PushClientTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
import cn.jiguang.commom.ClientConfig;
77
import cn.jpush.api.JPushClient;
8-
import cn.jpush.api.examples.PushExample;
98
import cn.jpush.api.push.model.Message;
109
import cn.jpush.api.push.model.Options;
1110
import cn.jpush.api.push.model.Platform;

src/test/java/cn/jpush/api/push/remote/NotificationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void sendNotification_ios_alert_jsonStr() throws Exception {
118118
@Test
119119
public void sendNotification_ios_alert_jsonObj() throws Exception {
120120
IosAlert alert = IosAlert.newBuilder()
121-
.setTitleAndBody("ios title", "test ios title")
121+
.setTitleAndBody("ios title", "test subtitle", "test ios title")
122122
.build();
123123

124124
PushPayload payload = PushPayload.newBuilder()

0 commit comments

Comments
 (0)