This repository was archived by the owner on Feb 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ public function test_it_returns_the_channel_information()
67
67
68
68
public function test_it_returns_presence_channel_information ()
69
69
{
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 ] );
72
72
73
73
$ connection = new Mocks \Connection ;
74
74
Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ public function test_it_returns_the_channel_information_for_prefix()
104
104
105
105
public function test_it_returns_the_channel_information_for_prefix_with_user_count ()
106
106
{
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 ] );
111
111
112
112
$ connection = new Mocks \Connection ;
113
113
You can’t perform that action at this time.
0 commit comments