From 7c9fb2464ead288c0f362dc91623ed4a3060cc2c Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Mon, 3 Dec 2018 13:57:50 +0100 Subject: [PATCH] Use a connected connection --- tests/Channels/ChannelTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',