diff --git a/tests/MessageTest.php b/tests/MessageTest.php index 163768b..f9e70ea 100644 --- a/tests/MessageTest.php +++ b/tests/MessageTest.php @@ -133,11 +133,11 @@ public function testJsonEncodeHandlesDelayIdle() ); } - public function testJsonEncodeHandlesDelayIdle() + public function testJsonEncodeHandlesMutableContent() { $body = '{"to":"\/topics\/testing","data":{"foo":"bar"},"priority":"high","mutable-content":true}'; $this->fixture->setData(['foo' => 'bar']) - ->setDelayWhileIdle(true); + ->setMutableContent(); $this->fixture->addRecipient(new Topic('testing')); $this->assertSame( $body,