Skip to content
Permalink
Browse files

Test flash message with custom id.

  • Loading branch information...
kimegede committed Aug 25, 2014
1 parent a287179 commit bd911c01c89aea13bef83f6f503b6131e264d622
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/TestCase/View/Helper/SessionHelperTest.php
@@ -139,7 +139,8 @@ public function testFlash() {
*/
public function testFlashIncomplete() {
$result = $this->Session->flash('incomplete');
$expected = '<div id="flash-message" class="message-info">A thing happened</div>';
$expected = '<div id="incomplete-message" class="message-info">A thing happened</div>';
$this->assertEquals($expected, $result);
}
/**

0 comments on commit bd911c0

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