mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Fixed controller test case which generated a property undefined notice
This commit is contained in:
parent
176c12e5fe
commit
d92202c6da
1 changed files with 1 additions and 1 deletions
|
@ -829,7 +829,7 @@ class ControllerTest extends CakeTestCase {
|
|||
|
||||
$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');
|
||||
|
|
Loading…
Add table
Reference in a new issue