From a5af8b5afa5af1f9834125a80a6dfc51e58fb6e7 Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Thu, 27 Aug 2020 23:04:22 +0300 Subject: [PATCH] Fixed tests --- tests/Statistics/Logger/StatisticsLoggerTest.php | 4 ++++ 1 file changed, 4 insertions(+) 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']);