chore: update test token. (#400)

This commit is contained in:
Bo-Yi Wu 2019-03-16 18:00:06 +08:00 committed by GitHub
parent dd186e388d
commit 758d4d60bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -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) {

View File

@ -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) {