Improve PHPUnit assertions

This commit is contained in:
Peter
2021-04-04 23:30:14 +08:00
parent aa436263f8
commit 20f8faee6f
8 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -749,7 +749,7 @@ class MultiExecTest extends PredisTestCase
$tx->set('hoge', 'piyo');
});
$this->assertSame(1, count($responses));
$this->assertCount(1, $responses);
$this->assertSame(0, $client->exists('foo'));
$this->assertSame(1, $client->exists('hoge'));
}