Fixed tests

This commit is contained in:
Alex Renoki 2020-08-27 23:04:22 +03:00
parent 62fc523cfc
commit a5af8b5afa
1 changed files with 4 additions and 0 deletions

View File

@ -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']);