Merge branch 'master' of github.com:beyondcode/laravel-websockets into 2.x

This commit is contained in:
Alex Renoki 2020-09-17 14:44:52 +03:00
commit 0f90f521e0
2 changed files with 6 additions and 6 deletions

View File

@ -67,8 +67,8 @@ class FetchChannelTest extends TestCase
public function test_it_returns_presence_channel_information()
{
$this->newPresenceConnection('presence-channel');
$this->newPresenceConnection('presence-channel');
$this->newPresenceConnection('presence-channel', ['user_id' => 1]);
$this->newPresenceConnection('presence-channel', ['user_id' => 2]);
$connection = new Mocks\Connection;

View File

@ -104,10 +104,10 @@ class FetchChannelsTest extends TestCase
public function test_it_returns_the_channel_information_for_prefix_with_user_count()
{
$this->newPresenceConnection('presence-global.1');
$this->newPresenceConnection('presence-global.1');
$this->newPresenceConnection('presence-global.2');
$this->newPresenceConnection('presence-notglobal.2');
$this->newPresenceConnection('presence-global.1', ['user_id' => 1]);
$this->newPresenceConnection('presence-global.1', ['user_id' => 2]);
$this->newPresenceConnection('presence-global.2', ['user_id' => 3]);
$this->newPresenceConnection('presence-notglobal.2', ['user_id' => 4]);
$connection = new Mocks\Connection;