Skip to content

Commit

Permalink
Fixed controller test case which generated a property undefined notice
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Apr 1, 2010
1 parent 176c12e commit d92202c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/cases/libs/controller/controller.test.php
Expand Up @@ -829,7 +829,7 @@ function testControllerSet() {

$Controller->set('title', 'someTitle');
$this->assertIdentical($Controller->viewVars['title'], 'someTitle');
$this->assertNotEqual($Controller->pageTitle, 'someTitle');
$this->assertTrue(empty($Controller->pageTitle));

$Controller->viewVars = array();
$expected = array('ModelName' => 'name', 'ModelName2' => 'name2');
Expand Down

0 comments on commit d92202c

Please sign in to comment.