diff --git a/tests/Channels/ChannelTest.php b/tests/Channels/ChannelTest.php index 82ff1fe..2cc7a7b 100644 --- a/tests/Channels/ChannelTest.php +++ b/tests/Channels/ChannelTest.php @@ -135,7 +135,7 @@ class ChannelTest extends TestCase /** @test */ public function it_responds_correctly_to_the_ping_message() { - $connection = $this->getWebSocketConnection(); + $connection = $this->getConnectedWebSocketConnection(); $message = new Message(json_encode([ 'event' => 'pusher:ping',