Skip to content

Commit

Permalink
Test flash message with custom id.
Browse files Browse the repository at this point in the history
  • Loading branch information
kimegede committed Aug 25, 2014
1 parent a287179 commit bd911c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/TestCase/View/Helper/SessionHelperTest.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit bd911c0

Please sign in to comment.