File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
src/Symfony/Component/Notifier/Bridge Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1313
1414use PHPUnit \Framework \TestCase ;
1515use Symfony \Component \Notifier \Bridge \Esendex \EsendexTransportFactory ;
16+ use Symfony \Component \Notifier \Exception \IncompleteDsnException ;
1617use Symfony \Component \Notifier \Exception \MissingRequiredOptionException ;
1718use Symfony \Component \Notifier \Exception \UnsupportedSchemeException ;
1819use Symfony \Component \Notifier \Transport \Dsn ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments