From 1162b15c076080fae6bca5c598cc694063c60d80 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Tue, 27 Nov 2018 22:27:08 +0100 Subject: [PATCH] wip --- tests/Channels/ChannelTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');