From 0e805ab267a27534d5f8f8bbca17ace45bddb8e9 Mon Sep 17 00:00:00 2001 From: Strahinja Djuric Date: Thu, 12 Oct 2017 13:24:47 +0200 Subject: [PATCH] Create test for mutable-content --- tests/MessageTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,