Skip to content

Commit 896151f

Browse files
committed
ICM: Tests minor fixes.
1 parent 49df212 commit 896151f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/ConsoleMutex/MutexTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,6 @@ public function it_supports_mysql_strategy()
6363
$this->assertEquals($expectedStrategy, $mutex->getStrategy());
6464
}
6565

66-
/** @test */
67-
public function it_has_get_predis_client_method()
68-
{
69-
$mutex = new Mutex($this->command);
70-
$this->assertInstanceOf(PredisClient::class, $mutex->getPredisClient());
71-
}
72-
7366
/** @test */
7467
public function it_supports_redis_strategy()
7568
{
@@ -80,6 +73,13 @@ public function it_supports_redis_strategy()
8073
$this->assertEquals($expectedStrategy, $mutex->getStrategy());
8174
}
8275

76+
/** @test */
77+
public function it_has_get_predis_client_method_which_always_returns_an_instance_of_predis_client_class()
78+
{
79+
$mutex = new Mutex($this->command);
80+
$this->assertInstanceOf(PredisClient::class, $mutex->getPredisClient());
81+
}
82+
8383
/** @test */
8484
public function it_supports_memcached_strategy()
8585
{

0 commit comments

Comments
 (0)