Replacing test case compatibility functions

This commit is contained in:
Kyle Robinson Young 2011-11-15 16:07:56 -08:00 committed by mark_story
parent 2c5350bb4b
commit 98f03dc6df
107 changed files with 6357 additions and 6357 deletions

View file

@ -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');
}
/**