Skip to content

Commit a687b43

Browse files
committed
fix: typing in tests
1 parent c922021 commit a687b43

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

tests/PushServiceTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ protected function createClosureTest(string $browserId, array $options): callabl
118118
$messageIndex = 0;
119119

120120
foreach ($supportedContentEncodings as $contentEncoding) {
121-
if (!in_array($contentEncoding, ['aesgcm', 'aes128gcm'], true)) {
122-
$this->expectException(ErrorException::class);
123-
$this->expectExceptionMessage('This content encoding ('.$contentEncoding.') is not supported.');
124-
$this->markTestIncomplete('Unsupported content encoding: '.$contentEncoding);
125-
}
126-
127121
$subscription = new Subscription($endpoint, $p256dh, $auth, $contentEncoding);
128122
$report = $this->webPush->sendOneNotification($subscription, $payload);
129123
$this->assertTrue($report->isSuccess());

0 commit comments

Comments
 (0)