This commit is contained in:
Marcel Pociot 2018-11-27 22:27:08 +01:00
parent f4c356ba02
commit 1162b15c07
1 changed files with 2 additions and 2 deletions

View File

@ -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');