From e3e2e4a437a81e7131fddfb665e944b1d104c94e Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Mon, 14 Sep 2020 13:25:21 +0300 Subject: [PATCH] wip --- tests/ConnectionTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/ConnectionTest.php b/tests/ConnectionTest.php index 61caf68..2e4f2ed 100644 --- a/tests/ConnectionTest.php +++ b/tests/ConnectionTest.php @@ -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();