Fix tests

This commit is contained in:
Fabien Potencier 2020-04-12 22:55:33 +02:00
parent 6ae2fc3d07
commit 7eecd4fc11

View File

@ -146,7 +146,7 @@ final class SlackTransportTest extends TestCase
$options = SlackOptions::fromNotification($notification);
$expectedBody = json_encode([
'blocks' => json_decode($options->toArray()['blocks'], true),
'blocks' => $options->toArray()['blocks'],
'text' => $message,
]);