diff --git a/tests/FetchChannelTest.php b/tests/FetchChannelTest.php index 6b274fb..9e4dd64 100644 --- a/tests/FetchChannelTest.php +++ b/tests/FetchChannelTest.php @@ -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; diff --git a/tests/FetchChannelsTest.php b/tests/FetchChannelsTest.php index 9b0549c..b0b08c4 100644 --- a/tests/FetchChannelsTest.php +++ b/tests/FetchChannelsTest.php @@ -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;