File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments