chore: update test token. (#400)
This commit is contained in:
parent
dd186e388d
commit
758d4d60bb
|
@ -76,8 +76,7 @@ func TestPushToAndroidRightTokenForJSONLog(t *testing.T) {
|
|||
}
|
||||
|
||||
isError := PushToAndroid(req)
|
||||
// mismatched sender id
|
||||
assert.True(t, isError)
|
||||
assert.False(t, isError)
|
||||
}
|
||||
|
||||
func TestPushToAndroidRightTokenForStringLog(t *testing.T) {
|
||||
|
@ -95,8 +94,7 @@ func TestPushToAndroidRightTokenForStringLog(t *testing.T) {
|
|||
}
|
||||
|
||||
isError := PushToAndroid(req)
|
||||
// mismatched sender id
|
||||
assert.True(t, isError)
|
||||
assert.False(t, isError)
|
||||
}
|
||||
|
||||
func TestOverwriteAndroidAPIKey(t *testing.T) {
|
||||
|
|
|
@ -129,7 +129,7 @@ func TestSyncModeForNotifications(t *testing.T) {
|
|||
|
||||
count, logs := queueNotification(req)
|
||||
assert.Equal(t, 3, count)
|
||||
assert.Equal(t, 3, len(logs))
|
||||
assert.Equal(t, 2, len(logs))
|
||||
}
|
||||
|
||||
func TestSyncModeForTopicNotification(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue