diff --git a/phpunit.xml.dist b/phpunit.xml.dist index ef9bea0..179f0b3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -21,6 +21,5 @@ - diff --git a/tests/Statistics/Logger/StatisticsLoggerTest.php b/tests/Statistics/Logger/StatisticsLoggerTest.php index f8ab0c4..c9033d2 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() { + config(['cache.default' => 'redis']); + $connection = $this->getConnectedWebSocketConnection(['channel-1']); $logger = new RedisStatisticsLogger( @@ -125,6 +127,8 @@ class StatisticsLoggerTest extends TestCase /** @test */ public function it_counts_connections_with_redis_logger_with_existing_data() { + config(['cache.default' => 'redis']); + $connection = $this->getConnectedWebSocketConnection(['channel-1']); $logger = new RedisStatisticsLogger(