summaryrefslogtreecommitdiff
path: root/plugins/broadcast/root/tests/Broadcast/MessageTest.php
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-05 16:39:22 +0300
committerValery Piashchynski <[email protected]>2021-05-05 16:39:22 +0300
commit4fa94bb7f73a705293c2afd40fc1151a3aaa04e2 (patch)
tree6ffd858cade87600bbd4432f70db22f50c598db0 /plugins/broadcast/root/tests/Broadcast/MessageTest.php
parent9ee78f937d5be67058882dd3590f89da35bca239 (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.php24
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));
- }
-}