fix testing.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-04-14 23:58:25 +08:00
parent 2523b03d7a
commit b877f1cc9e
2 changed files with 8 additions and 5 deletions

View File

@@ -229,8 +229,8 @@ func TestPushToIOS(t *testing.T) {
Message: "Welcome",
}
PushToIOS(req)
// assert.False(t, success)
isError := PushToIOS(req)
assert.True(t, isError)
}
func TestPushToAndroidWrongAPIKey(t *testing.T) {