File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Notifier \Bridge \Sipgate \Tests ;
13
13
14
14
use Symfony \Component \Notifier \Bridge \Sipgate \SipgateTransportFactory ;
15
- use Symfony \Component \Notifier \Test \TransportFactoryTestCase ;
15
+ use Symfony \Component \Notifier \Test \AbstractTransportFactoryTestCase ;
16
+ use Symfony \Component \Notifier \Test \IncompleteDsnTestTrait ;
16
17
17
- class SipgateTransportFactoryTest extends TransportFactoryTestCase
18
+ class SipgateTransportFactoryTest extends AbstractTransportFactoryTestCase
18
19
{
20
+ use IncompleteDsnTestTrait;
21
+
19
22
public function createFactory (): SipgateTransportFactory
20
23
{
21
24
return new SipgateTransportFactory ();
@@ -40,4 +43,10 @@ public static function unsupportedSchemeProvider(): iterable
40
43
yield ['somethingElse://tokenId:token@host.test?senderId=s1 ' ];
41
44
yield ['somethingElse://tokenId:token@host.test ' ]; // missing senderId
42
45
}
46
+
47
+ public static function incompleteDsnProvider (): iterable
48
+ {
49
+ yield ['sipgate://:token@host.test?senderId=s1 ' ];
50
+ yield ['sipgate://tokenId@host.test?senderId=s1 ' ];
51
+ }
43
52
}
You can’t perform that action at this time.
0 commit comments