File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 1212namespace Symfony \Component \Notifier \Bridge \MessageBird \Tests ;
1313
1414use Symfony \Component \Notifier \Bridge \MessageBird \MessageBirdTransportFactory ;
15- use Symfony \Component \Notifier \Test \TransportFactoryTestCase ;
15+ use Symfony \Component \Notifier \Test \AbstractTransportFactoryTestCase ;
16+ use Symfony \Component \Notifier \Test \IncompleteDsnTestTrait ;
17+ use Symfony \Component \Notifier \Test \MissingRequiredOptionTestTrait ;
1618
17- final class MessageBirdTransportFactoryTest extends TransportFactoryTestCase
19+ final class MessageBirdTransportFactoryTest extends AbstractTransportFactoryTestCase
1820{
21+ use IncompleteDsnTestTrait;
22+ use MissingRequiredOptionTestTrait;
23+
1924 public function createFactory (): MessageBirdTransportFactory
2025 {
2126 return new MessageBirdTransportFactory ();
@@ -45,4 +50,9 @@ public static function unsupportedSchemeProvider(): iterable
4550 yield ['somethingElse://token@default?from=0611223344 ' ];
4651 yield ['somethingElse://token@default ' ]; // missing "from" option
4752 }
53+
54+ public static function incompleteDsnProvider (): iterable
55+ {
56+ yield ['messagebird://default?from=0611223344 ' ];
57+ }
4858}
Original file line number Diff line number Diff line change 1818 "require" : {
1919 "php" : " >=8.2" ,
2020 "symfony/http-client" : " ^6.4|^7.0" ,
21- "symfony/notifier" : " ^6.4|^7.0 "
21+ "symfony/notifier" : " ^7.2 "
2222 },
2323 "autoload" : {
2424 "psr-4" : { "Symfony\\ Component\\ Notifier\\ Bridge\\ MessageBird\\ " : " " },
You can’t perform that action at this time.
0 commit comments