There was an error while loading. Please reload this page.
1 parent 980227e commit fdefadfCopy full SHA for fdefadf
1 file changed
tests/ClientTest.php
@@ -741,9 +741,6 @@ public function testExceptionSelect()
741
742
public function testExceptionConnects()
743
{
744
- $this->expectException(QueryException::class);
745
- $this->expectExceptionCode(6);
746
-
747
$config = [
748
'host' => 'x',
749
'port' => '8123',
@@ -753,7 +750,7 @@ public function testExceptionConnects()
753
750
];
754
751
755
752
$db = new Client($config);
756
- $db->ping();
+ $this->assertFalse($db->ping());
757
}
758
759
/**
0 commit comments