diff --git a/tests/Statistics/Logger/StatisticsLoggerTest.php b/tests/Statistics/Logger/StatisticsLoggerTest.php index c9033d2..8374609 100644 --- a/tests/Statistics/Logger/StatisticsLoggerTest.php +++ b/tests/Statistics/Logger/StatisticsLoggerTest.php @@ -97,6 +97,8 @@ class StatisticsLoggerTest extends TestCase /** @test */ public function it_counts_connections_with_redis_logger_with_no_data() { + $this->runOnlyOnRedisReplication(); + config(['cache.default' => 'redis']); $connection = $this->getConnectedWebSocketConnection(['channel-1']); @@ -127,6 +129,8 @@ class StatisticsLoggerTest extends TestCase /** @test */ public function it_counts_connections_with_redis_logger_with_existing_data() { + $this->runOnlyOnRedisReplication(); + config(['cache.default' => 'redis']); $connection = $this->getConnectedWebSocketConnection(['channel-1']);