Skip to content

Commit

Permalink
Update: 修复测试
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed Mar 29, 2024
1 parent 93d8f91 commit ad06eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/redis/tests/Tests/PhpRedisTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function testEvalScriptReadOnly(IRedisHandler $redis): void
{
$this->markTestSkipped(sprintf('PhpRedis version %s does not support read-only script', $redis->getClientVersion()));
}
if ($redis instanceof PredisClusterHandler && version_compare($redis->getClientVersion(), '2.2', '<'))
if ($redis instanceof PredisClusterHandler && version_compare($redis->getClientVersion(), '2.2', '<='))
{
$this->markTestSkipped(sprintf('Predis (Cluster) version %s does not support read-only script', $redis->getClientVersion()));
}
Expand Down

0 comments on commit ad06eb1

Please sign in to comment.