Skip to content
Permalink
Browse files

Fix failing tests.

FlashHelper uses `Message` not flash now. This is more backwards
compatible with 2.x

Refs #6874
  • Loading branch information...
markstory committed Jun 27, 2015
1 parent a9d77d2 commit 97c5463387d8063793f0533ec65c68095ca9f501
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/Cake/Test/Case/View/Helper/FlashHelperTest.php
@@ -55,7 +55,7 @@ public function setUp() {
CakeSession::start();
}
CakeSession::write(array(
'Flash' => array(
'Message' => array(
'flash' => array(
'key' => 'flash',
'message' => 'This is a calling',
@@ -108,7 +108,6 @@ public function testFlash() {
$result = $this->Flash->render('notification');
$expected = "<div id=\"notificationLayout\">\n\t<h1>Alert!</h1>\n\t<h3>Notice!</h3>\n\t<p>Broadcast message testing</p>\n</div>";
$this->assertContains($expected, $result);
$this->assertNull($this->Flash->render('non-existent'));

0 comments on commit 97c5463

Please sign in to comment.
You can’t perform that action at this time.