Skip to content

Commit

Permalink
Create test for mutable-content
Browse files Browse the repository at this point in the history
  • Loading branch information
strahinjadjuric committed Oct 12, 2017
1 parent 65ff469 commit 0e805ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0e805ab

Please sign in to comment.