diff options
author | Valery Piashchynski <[email protected]> | 2021-05-05 16:39:22 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-05-05 16:39:22 +0300 |
commit | 4fa94bb7f73a705293c2afd40fc1151a3aaa04e2 (patch) | |
tree | 6ffd858cade87600bbd4432f70db22f50c598db0 /plugins/broadcast/root/tests/Broadcast/MessageTest.php | |
parent | 9ee78f937d5be67058882dd3590f89da35bca239 (diff) |
- Initial broadcast commit
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/broadcast/root/tests/Broadcast/MessageTest.php')
-rw-r--r-- | plugins/broadcast/root/tests/Broadcast/MessageTest.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/plugins/broadcast/root/tests/Broadcast/MessageTest.php b/plugins/broadcast/root/tests/Broadcast/MessageTest.php deleted file mode 100644 index dd9e1cc3..00000000 --- a/plugins/broadcast/root/tests/Broadcast/MessageTest.php +++ /dev/null @@ -1,24 +0,0 @@ -<?php - -/** - * Spiral Framework. - * - * @license MIT - * @author Anton Titov (Wolfy-J) - */ - -declare(strict_types=1); - -namespace Spiral\Broadcast\Tests; - -use PHPUnit\Framework\TestCase; -use Spiral\Broadcast\Message; - -class MessageTest extends TestCase -{ - public function testSerialize(): void - { - $m = new Message('topic', ['hello' => 'world']); - $this->assertSame('{"topic":"topic","payload":{"hello":"world"}}', json_encode($m)); - } -} |