Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f04d08d

Browse filesBrowse files
committed
Fix
1 parent 5254213 commit f04d08d
Copy full SHA for f04d08d

File tree

2 files changed

+6
-1
lines changed
Filter options

2 files changed

+6
-1
lines changed

‎src/Symfony/Component/Notifier/Bridge/Esendex/Tests/EsendexTransportFactoryTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/Esendex/Tests/EsendexTransportFactoryTest.php
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use PHPUnit\Framework\TestCase;
1515
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
16+
use Symfony\Component\Notifier\Exception\IncompleteDsnException;
1617
use Symfony\Component\Notifier\Exception\MissingRequiredOptionException;
1718
use Symfony\Component\Notifier\Exception\UnsupportedSchemeException;
1819
use Symfony\Component\Notifier\Transport\Dsn;

‎src/Symfony/Component/Notifier/Bridge/Mattermost/Tests/MattermostTransportFactoryTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Notifier/Bridge/Mattermost/Tests/MattermostTransportFactoryTest.php
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ public function supportsProvider(): iterable
5757
yield [false, 'somethingElse://token@host?channel=testChannel'];
5858
}
5959

60+
public function incompleteDsnProvider(): iterable
61+
{
62+
yield 'missing token' => ['mattermost://host.test?channel=testChannel'];
63+
}
64+
6065
public function missingRequiredOptionProvider(): iterable
6166
{
62-
yield 'missing option: token' => ['mattermost://host.test?channel=testChannel'];
6367
yield 'missing option: channel' => ['mattermost://token@host'];
6468
}
6569

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.