Skip to content

Commit 06d9495

Browse files
committed
fix skip Travis and test with wrong API
1 parent 0e21bba commit 06d9495

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/WebPushTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function testSendNotification($endpoint, $payload, $userPublicKey, $userA
8686

8787
public function testSendNotificationWithOldAPI()
8888
{
89-
$this->setExpectedException('ErrorException', 'The API has changed: sendNotification now takes the user auth token as parameter.');
89+
$this->setExpectedException('ErrorException', 'The API has changed: sendNotification now takes the optional user auth token as parameter.');
9090
$this->webPush->sendNotification(
9191
self::$endpoints['standard'],
9292
'test',
@@ -107,7 +107,7 @@ public function testSendNotificationWithTooBigPayload()
107107
);
108108
}
109109

110-
/*
110+
/**
111111
* @skipIfTravis
112112
*/
113113
public function testFlush()
@@ -130,7 +130,7 @@ public function testSendGCMNotificationWithoutGCMApiKey()
130130
$webPush->sendNotification(self::$endpoints['GCM'], null, null, null, true);
131131
}
132132

133-
/*
133+
/**
134134
* @skipIfTravis
135135
*/
136136
public function testSendGCMNotificationWithWrongGCMApiKey()

0 commit comments

Comments
 (0)