summaryrefslogtreecommitdiff
path: root/plugins/broadcast/root/tests/Broadcast/MessageTest.php
diff options
context:
space:
mode:
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));
- }
-}