Skip to content

Commit 5171604

Browse files
committed
disable automatic padding in tests to speed these up
1 parent 8d672e3 commit 5171604

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/WebPushTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function setUp()
3737
);
3838

3939
$this->webPush = new WebPush($this->keys);
40+
$this->webPush->setAutomaticPadding(false); // disable automatic padding in tests to speed these up
4041
}
4142

4243
public function testSendNotification()
@@ -63,7 +64,7 @@ public function testSendNotificationWithPayloadWithoutAuthToken()
6364
{
6465
$res = $this->webPush->sendNotification(
6566
$this->endpoints['standard'],
66-
'test',
67+
'{message: "Plop", tag: "general"}',
6768
$this->keys['standard'],
6869
null,
6970
true

0 commit comments

Comments
 (0)