Skip to content

Commit 1fa17c7

Browse files
TymekTymek
authored andcommitted
Fix push status condition in tests
1 parent a94532c commit 1fa17c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/push.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ _.forEach(optionsByAuth, function(options, authName) {
988988
function assertResult(res) {
989989
assertResponseProperties(res);
990990

991-
assert.equal(res.status, 'QUEUED');
991+
assert.isTrue(res.status === 'WAITING' || res.status === 'QUEUED');
992992
assert.equal(res.payload.alert, alert);
993993
assert.equal(res.payload.badge, 1);
994994
assert.equal(res.payload.sound, 'Test sound');

0 commit comments

Comments
 (0)