mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-06 03:22:39 +00:00
Replacing test case compatibility functions
This commit is contained in:
parent
2c5350bb4b
commit
98f03dc6df
107 changed files with 6357 additions and 6357 deletions
|
@ -150,7 +150,7 @@ class ControllerMergeVarsTest extends CakeTestCase {
|
|||
$Controller->constructClasses();
|
||||
|
||||
$expected = array('MergeVar' => array('flag', 'otherFlag', 'redirect' => false));
|
||||
$this->assertEqual($Controller->components, $expected, 'Duplication of settings occured. %s');
|
||||
$this->assertEquals($Controller->components, $expected, 'Duplication of settings occured. %s');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -164,7 +164,7 @@ class ControllerMergeVarsTest extends CakeTestCase {
|
|||
$Controller->constructClasses();
|
||||
|
||||
$expected = array('MergeVar' => array('flag', 'otherFlag', 'redirect' => true, 'remote'));
|
||||
$this->assertEqual($Controller->components, $expected, 'Merging of settings is wrong. %s');
|
||||
$this->assertEquals($Controller->components, $expected, 'Merging of settings is wrong. %s');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -177,7 +177,7 @@ class ControllerMergeVarsTest extends CakeTestCase {
|
|||
$Controller->constructClasses();
|
||||
|
||||
$expected = array('MergeVar' => array('format' => 'html', 'terse'));
|
||||
$this->assertEqual($Controller->helpers, $expected, 'Duplication of settings occured. %s');
|
||||
$this->assertEquals($Controller->helpers, $expected, 'Duplication of settings occured. %s');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue