mirror of
https://github.com/predis/predis.git
synced 2026-08-30 20:21:31 +00:00
[tests] Fix dumb mistake when running tests with older profiles.
This commit is contained in:
@@ -54,7 +54,9 @@ abstract class CommandTestCase extends PredisTestCase
|
||||
*/
|
||||
public function getClient($flushdb = true)
|
||||
{
|
||||
if (!$this->getProfile()->supportsCommand($id = $this->getExpectedId())) {
|
||||
$profile = $this->getProfile();
|
||||
|
||||
if (!$profile->supportsCommand($id = $this->getExpectedId())) {
|
||||
$this->markTestSkipped(
|
||||
"The profile {$profile->getVersion()} does not support command {$id}"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user