Use a connected connection
This commit is contained in:
parent
6386e791aa
commit
7c9fb2464e
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue