mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Please review the models used in this test case to see why the results are correct.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7797 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
a90ade78a9
commit
add332fb85
1 changed files with 5 additions and 5 deletions
|
@ -2840,7 +2840,7 @@ class ModelTest extends CakeTestCase {
|
||||||
);
|
);
|
||||||
$this->assertEqual($result, $expected);
|
$this->assertEqual($result, $expected);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* testSaveHabtmCustomKeys method
|
* testSaveHabtmCustomKeys method
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
|
@ -2873,11 +2873,11 @@ class ModelTest extends CakeTestCase {
|
||||||
);
|
);
|
||||||
$this->assertEqual($result, $expected);
|
$this->assertEqual($result, $expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo This is technically incorrect (ThePaperMonkies.apple_id should be ThePaperMonkies.the_paper_id),
|
* testHabtmSaveKeyResolution method
|
||||||
* the foreign key name should come from the association name, not the table name... but that's the existing
|
*
|
||||||
* functionality at this point.
|
* @access public
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
function testHabtmSaveKeyResolution() {
|
function testHabtmSaveKeyResolution() {
|
||||||
$this->loadFixtures('Apple', 'Device', 'ThePaperMonkies');
|
$this->loadFixtures('Apple', 'Device', 'ThePaperMonkies');
|
||||||
|
|
Loading…
Add table
Reference in a new issue