Skip to content

Commit

Permalink
Show html in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Aug 27, 2016
1 parent 676ff2f commit 908ca3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Controller/Component/FlashComponentTest.php
Expand Up @@ -117,10 +117,10 @@ public function testSetEscape()
{
$this->assertNull($this->Session->read('Flash.flash'));

$this->Flash->set('This is a test message', ['escape' => false, 'params' => ['foo' => 'bar']]);
$this->Flash->set('This is a <b>test</b> message', ['escape' => false, 'params' => ['foo' => 'bar']]);
$expected = [
[
'message' => 'This is a test message',
'message' => 'This is a <b>test</b> message',
'key' => 'flash',
'element' => 'Flash/default',
'params' => ['foo' => 'bar', 'escape' => false]
Expand Down

0 comments on commit 908ca3f

Please sign in to comment.