Skip to content

Commit f04d08d

Browse files
committed
Fix
1 parent 5254213 commit f04d08d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

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

Lines 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

Lines 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)