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

Commit a5af8b5

Browse files
committed
Fixed tests
1 parent 62fc523 commit a5af8b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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+
$this->runOnlyOnRedisReplication();
101+
100102
config(['cache.default' => 'redis']);
101103

102104
$connection = $this->getConnectedWebSocketConnection(['channel-1']);
@@ -127,6 +129,8 @@ public function it_counts_connections_with_redis_logger_with_no_data()
127129
/** @test */
128130
public function it_counts_connections_with_redis_logger_with_existing_data()
129131
{
132+
$this->runOnlyOnRedisReplication();
133+
130134
config(['cache.default' => 'redis']);
131135

132136
$connection = $this->getConnectedWebSocketConnection(['channel-1']);

0 commit comments

Comments
 (0)