Fixed tests
This commit is contained in:
parent
62fc523cfc
commit
a5af8b5afa
|
|
@ -97,6 +97,8 @@ class StatisticsLoggerTest extends TestCase
|
||||||
/** @test */
|
/** @test */
|
||||||
public function it_counts_connections_with_redis_logger_with_no_data()
|
public function it_counts_connections_with_redis_logger_with_no_data()
|
||||||
{
|
{
|
||||||
|
$this->runOnlyOnRedisReplication();
|
||||||
|
|
||||||
config(['cache.default' => 'redis']);
|
config(['cache.default' => 'redis']);
|
||||||
|
|
||||||
$connection = $this->getConnectedWebSocketConnection(['channel-1']);
|
$connection = $this->getConnectedWebSocketConnection(['channel-1']);
|
||||||
|
|
@ -127,6 +129,8 @@ class StatisticsLoggerTest extends TestCase
|
||||||
/** @test */
|
/** @test */
|
||||||
public function it_counts_connections_with_redis_logger_with_existing_data()
|
public function it_counts_connections_with_redis_logger_with_existing_data()
|
||||||
{
|
{
|
||||||
|
$this->runOnlyOnRedisReplication();
|
||||||
|
|
||||||
config(['cache.default' => 'redis']);
|
config(['cache.default' => 'redis']);
|
||||||
|
|
||||||
$connection = $this->getConnectedWebSocketConnection(['channel-1']);
|
$connection = $this->getConnectedWebSocketConnection(['channel-1']);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue