diff --git a/tests/PubSub/RedisDriverTest.php b/tests/PubSub/RedisDriverTest.php index e6585a1..c67ab88 100644 --- a/tests/PubSub/RedisDriverTest.php +++ b/tests/PubSub/RedisDriverTest.php @@ -30,12 +30,12 @@ class RedisDriverTest extends TestCase ], ]; - $payload = json_encode([ + $payload = [ 'appId' => '1234', 'event' => 'test', 'data' => $channelData, 'socket' => $connection->socketId, - ]); + ]; $this->getSubscribeClient()->onMessage('1234:test-channel', $payload);