Skip to content

Commit 827b7c3

Browse files
committed
ICM: Minor tests fixes.
1 parent e6472e1 commit 827b7c3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Mutex.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ private function getRedisLock($client)
6060
return new PhpRedisLock($this->getPhpRedisClient());
6161

6262
case 'predis':
63-
default:
6463
return new PredisRedisLock($this->getPredisClient());
6564
}
6665
}

tests/ConsoleMutex/MutexTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function it_supports_mysql_strategy()
6666
}
6767

6868
/** @test */
69-
public function it_supports_redis_strategy_with_predis_client_by_default()
69+
public function it_supports_redis_strategy_with_predis_client()
7070
{
7171
$this->command->shouldReceive('getMutexStrategy')->withNoArgs()->once()->andReturn('redis');
7272

0 commit comments

Comments
 (0)