Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 62fc523

Browse files
committed
Fixed tests
1 parent ee8681a commit 62fc523

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@
2121
</filter>
2222
<php>
2323
<env name="DB_CONNECTION" value="testing"/>
24-
<env name="CACHE_DRIVER" value="redis"/>
2524
</php>
2625
</phpunit>

tests/Statistics/Logger/StatisticsLoggerTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ public function it_counts_connections_with_null_logger()
9797
/** @test */
9898
public function it_counts_connections_with_redis_logger_with_no_data()
9999
{
100+
config(['cache.default' => 'redis']);
101+
100102
$connection = $this->getConnectedWebSocketConnection(['channel-1']);
101103

102104
$logger = new RedisStatisticsLogger(
@@ -125,6 +127,8 @@ public function it_counts_connections_with_redis_logger_with_no_data()
125127
/** @test */
126128
public function it_counts_connections_with_redis_logger_with_existing_data()
127129
{
130+
config(['cache.default' => 'redis']);
131+
128132
$connection = $this->getConnectedWebSocketConnection(['channel-1']);
129133

130134
$logger = new RedisStatisticsLogger(

0 commit comments

Comments
 (0)