This commit is contained in:
Alex Renoki 2020-09-14 13:25:21 +03:00
parent 04e8298ae8
commit e3e2e4a437
1 changed files with 2 additions and 3 deletions

View File

@ -111,9 +111,8 @@ class ConnectionTest extends TestCase
public function test_close_all_new_connections_after_stating_the_server_does_not_accept_new_connections()
{
$allowedConnection = $this->newActiveConnection(['test-channel']);
$allowedConnection->assertSentEvent('pusher:connection_established')
$this->newActiveConnection(['test-channel'])
->assertSentEvent('pusher:connection_established')
->assertSentEvent('pusher_internal:subscription_succeeded');
$this->channelManager->declineNewConnections();