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 1212namespace  Symfony \Component \Notifier \Bridge \Sipgate \Tests ;
1313
1414use  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 ;
1617
17- class  SipgateTransportFactoryTest extends  TransportFactoryTestCase 
18+ class  SipgateTransportFactoryTest extends  AbstractTransportFactoryTestCase 
1819{
20+     use  IncompleteDsnTestTrait;
21+ 
1922    public  function  createFactory (): SipgateTransportFactory 
2023    {
2124        return  new  SipgateTransportFactory ();
@@ -40,4 +43,10 @@ public static function unsupportedSchemeProvider(): iterable
4043        yield  ['somethingElse://tokenId:token@host.test?senderId=s1 ' ];
4144        yield  ['somethingElse://tokenId:token@host.test ' ]; // missing senderId 
4245    }
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+     }
4352}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments