Fix tests.

This commit is contained in:
Raza Mehdi
2020-08-15 01:14:13 +05:00
parent 882d59001f
commit 5edf443141
189 changed files with 1272 additions and 2034 deletions
+2 -1
View File
@@ -25,7 +25,8 @@ class ClientExceptionTest extends PredisTestCase
{
$message = 'This is a client exception.';
$this->setExpectedException('Predis\ClientException', $message);
$this->expectException('Predis\ClientException');
$this->expectExceptionMessage($message);
throw new ClientException($message);
}