Use a connected connection

This commit is contained in:
Marcel Pociot 2018-12-03 13:57:50 +01:00
parent 6386e791aa
commit 7c9fb2464e
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class ChannelTest extends TestCase
/** @test */ /** @test */
public function it_responds_correctly_to_the_ping_message() public function it_responds_correctly_to_the_ping_message()
{ {
$connection = $this->getWebSocketConnection(); $connection = $this->getConnectedWebSocketConnection();
$message = new Message(json_encode([ $message = new Message(json_encode([
'event' => 'pusher:ping', 'event' => 'pusher:ping',