Do not json encode it when it is being encoded within the publish class
This commit is contained in:
parent
0a7864a54d
commit
a490f78f09
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue