wip
This commit is contained in:
parent
04e8298ae8
commit
e3e2e4a437
|
|
@ -111,9 +111,8 @@ class ConnectionTest extends TestCase
|
||||||
|
|
||||||
public function test_close_all_new_connections_after_stating_the_server_does_not_accept_new_connections()
|
public function test_close_all_new_connections_after_stating_the_server_does_not_accept_new_connections()
|
||||||
{
|
{
|
||||||
$allowedConnection = $this->newActiveConnection(['test-channel']);
|
$this->newActiveConnection(['test-channel'])
|
||||||
|
->assertSentEvent('pusher:connection_established')
|
||||||
$allowedConnection->assertSentEvent('pusher:connection_established')
|
|
||||||
->assertSentEvent('pusher_internal:subscription_succeeded');
|
->assertSentEvent('pusher_internal:subscription_succeeded');
|
||||||
|
|
||||||
$this->channelManager->declineNewConnections();
|
$this->channelManager->declineNewConnections();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue