diff --git a/tests/Channels/ChannelTest.php b/tests/Channels/ChannelTest.php index bc2db51..e56e60e 100644 --- a/tests/Channels/ChannelTest.php +++ b/tests/Channels/ChannelTest.php @@ -85,10 +85,10 @@ class ChannelTest extends TestCase $channel = $this->getChannel($connection1, 'test-channel'); - $channel->broadcastToEveryoneExcept([ + $channel->broadcastToOthers($connection1, [ 'event' => 'broadcasted-event', 'channel' => 'test-channel' - ], $connection1->socketId); + ]); $connection1->assertNotSentEvent('broadcasted-event'); $connection2->assertSentEvent('broadcasted-event');