File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change 1313use Illuminate \Cache \Events \WritingKey ;
1414use Illuminate \Contracts \Cache \Store ;
1515use Illuminate \Foundation \Testing \Concerns \InteractsWithRedis ;
16- use Illuminate \Redis \Connections \PhpRedisClusterConnection ;
17- use Illuminate \Redis \Connections \PredisClusterConnection ;
1816use Illuminate \Support \Facades \Cache ;
1917use Illuminate \Support \Facades \Config ;
2018use Illuminate \Support \Facades \Event ;
@@ -33,12 +31,6 @@ protected function setUp(): void
3331
3432 $ this ->setUpRedis ();
3533
36- $ connection = $ this ->app ['redis ' ]->connection ();
37- $ this ->markTestSkippedWhen (
38- $ connection instanceof PhpRedisClusterConnection || $ connection instanceof PredisClusterConnection,
39- 'flushAll and many currently not supported for Redis Cluster connections ' ,
40- );
41-
4234 Config::set ('cache.default ' , 'redis ' );
4335 Redis::flushAll ();
4436 }
Original file line number Diff line number Diff line change 66use Illuminate \Cache \RedisStore ;
77use Illuminate \Foundation \Testing \Concerns \InteractsWithRedis ;
88use Illuminate \Redis \Connections \PhpRedisClusterConnection ;
9- use Illuminate \Redis \Connections \PredisClusterConnection ;
109use Illuminate \Support \Facades \Cache ;
11- use Illuminate \Support \Facades \Redis ;
1210use Illuminate \Support \Sleep ;
1311use Mockery as m ;
1412use Orchestra \Testbench \TestCase ;
@@ -23,12 +21,6 @@ protected function setUp(): void
2321 {
2422 $ this ->afterApplicationCreated (function () {
2523 $ this ->setUpRedis ();
26-
27- $ connection = $ this ->app ['redis ' ]->connection ();
28- $ this ->markTestSkippedWhen (
29- $ connection instanceof PhpRedisClusterConnection || $ connection instanceof PredisClusterConnection,
30- 'RedisStore currently does not support tags, many and some other on Redis Cluster cluster connections ' ,
31- );
3224 });
3325
3426 $ this ->beforeApplicationDestroyed (function () {
You can’t perform that action at this time.
0 commit comments