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()
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments