File tree
Expand file treeCollapse file tree2 files changed
+12
-3
lines changed Expand file treeCollapse file tree2 files changed
+12
-3
lines changed Original file line number | Diff line number | Diff line change |
---|
|
12 | 12 | namespace Symfony\Component\Notifier\Bridge\MessageMedia\Tests;
|
13 | 13 |
|
14 | 14 | use Symfony\Component\Notifier\Bridge\MessageMedia\MessageMediaTransportFactory;
|
15 |
| -use Symfony\Component\Notifier\Test\TransportFactoryTestCase; |
| 15 | +use Symfony\Component\Notifier\Test\AbstractTransportFactoryTestCase; |
| 16 | +use Symfony\Component\Notifier\Test\IncompleteDsnTestTrait; |
16 | 17 |
|
17 |
| -final class MessageMediaTransportFactoryTest extends TransportFactoryTestCase |
| 18 | +final class MessageMediaTransportFactoryTest extends AbstractTransportFactoryTestCase |
18 | 19 | {
|
| 20 | +use IncompleteDsnTestTrait; |
| 21 | + |
19 | 22 | public function createFactory(): MessageMediaTransportFactory
|
20 | 23 | {
|
21 | 24 | return new MessageMediaTransportFactory();
|
@@ -44,4 +47,10 @@ public static function unsupportedSchemeProvider(): iterable
|
44 | 47 | {
|
45 | 48 | yield ['somethingElse://apiKey:apiSecret@default'];
|
46 | 49 | }
|
| 50 | + |
| 51 | +public static function incompleteDsnProvider(): iterable |
| 52 | +{ |
| 53 | +yield ['messagemedia://apiKey@default']; |
| 54 | +yield ['messagemedia://:apiSecret@default']; |
| 55 | +} |
47 | 56 | }
|
Original file line number | Diff line number | Diff line change |
---|
|
18 | 18 | "require": {
|
19 | 19 | "php": ">=8.2",
|
20 | 20 | "symfony/http-client": "^6.4|^7.0",
|
21 |
| -"symfony/notifier": "^6.4|^7.0" |
| 21 | +"symfony/notifier": "^7.2" |
22 | 22 | },
|
23 | 23 | "autoload": {
|
24 | 24 | "psr-4": { "Symfony\\Component\\Notifier\\Bridge\\MessageMedia\\": "" },
|
|
You can’t perform that action at this time.
0 commit comments