Merge branch 'master' of github.com:beyondcode/laravel-websockets into 2.x
This commit is contained in:
commit
0f90f521e0
|
|
@ -67,8 +67,8 @@ class FetchChannelTest extends TestCase
|
||||||
|
|
||||||
public function test_it_returns_presence_channel_information()
|
public function test_it_returns_presence_channel_information()
|
||||||
{
|
{
|
||||||
$this->newPresenceConnection('presence-channel');
|
$this->newPresenceConnection('presence-channel', ['user_id' => 1]);
|
||||||
$this->newPresenceConnection('presence-channel');
|
$this->newPresenceConnection('presence-channel', ['user_id' => 2]);
|
||||||
|
|
||||||
$connection = new Mocks\Connection;
|
$connection = new Mocks\Connection;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -104,10 +104,10 @@ class FetchChannelsTest extends TestCase
|
||||||
|
|
||||||
public function test_it_returns_the_channel_information_for_prefix_with_user_count()
|
public function test_it_returns_the_channel_information_for_prefix_with_user_count()
|
||||||
{
|
{
|
||||||
$this->newPresenceConnection('presence-global.1');
|
$this->newPresenceConnection('presence-global.1', ['user_id' => 1]);
|
||||||
$this->newPresenceConnection('presence-global.1');
|
$this->newPresenceConnection('presence-global.1', ['user_id' => 2]);
|
||||||
$this->newPresenceConnection('presence-global.2');
|
$this->newPresenceConnection('presence-global.2', ['user_id' => 3]);
|
||||||
$this->newPresenceConnection('presence-notglobal.2');
|
$this->newPresenceConnection('presence-notglobal.2', ['user_id' => 4]);
|
||||||
|
|
||||||
$connection = new Mocks\Connection;
|
$connection = new Mocks\Connection;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue