File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -279,21 +279,27 @@ public function testInvalidConnectionCheck(): void
279279            ->withDriver ('http ' , 'http://localboast ' )
280280            ->build ();
281281
282+         $ exceptionThrownCount0 ;
282283        try  {
283-             self ::assertFalse ($ clientverifyConnectivity ('bolt ' ));
284+             $ clientverifyConnectivity ('bolt ' );
285+             ++$ exceptionThrownCount
284286        } catch  (Exception $ e
285287            self ::assertInstanceOf (RuntimeException::class, $ e
286288        }
287289        try  {
288-             self ::assertFalse ($ clientverifyConnectivity ('neo4j ' ));
290+             $ clientverifyConnectivity ('neo4j ' );
291+             ++$ exceptionThrownCount
289292        } catch  (Exception $ e
290293            self ::assertInstanceOf (RuntimeException::class, $ e
291294        }
292295        try  {
293-             self ::assertFalse ($ clientverifyConnectivity ('http ' ));
296+             $ clientverifyConnectivity ('http ' );
297+             ++$ exceptionThrownCount
294298        } catch  (Exception $ e
295299            self ::assertInstanceOf (RuntimeException::class, $ e
296300        }
301+ 
302+         self ::assertEquals (3 , $ exceptionThrownCount
297303    }
298304
299305    public  function  testValidConnectionCheck (): void 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments