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

Commit 0f90f52

Browse files
committed
Merge branch 'master' of github.com:beyondcode/laravel-websockets into 2.x
2 parents 7365189 + 805fd5e commit 0f90f52

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/FetchChannelTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public function test_it_returns_the_channel_information()
6767

6868
public function test_it_returns_presence_channel_information()
6969
{
70-
$this->newPresenceConnection('presence-channel');
71-
$this->newPresenceConnection('presence-channel');
70+
$this->newPresenceConnection('presence-channel', ['user_id' => 1]);
71+
$this->newPresenceConnection('presence-channel', ['user_id' => 2]);
7272

7373
$connection = new Mocks\Connection;
7474

tests/FetchChannelsTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ public function test_it_returns_the_channel_information_for_prefix()
104104

105105
public function test_it_returns_the_channel_information_for_prefix_with_user_count()
106106
{
107-
$this->newPresenceConnection('presence-global.1');
108-
$this->newPresenceConnection('presence-global.1');
109-
$this->newPresenceConnection('presence-global.2');
110-
$this->newPresenceConnection('presence-notglobal.2');
107+
$this->newPresenceConnection('presence-global.1', ['user_id' => 1]);
108+
$this->newPresenceConnection('presence-global.1', ['user_id' => 2]);
109+
$this->newPresenceConnection('presence-global.2', ['user_id' => 3]);
110+
$this->newPresenceConnection('presence-notglobal.2', ['user_id' => 4]);
111111

112112
$connection = new Mocks\Connection;
113113

0 commit comments

Comments
 (0)