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:
phpnut 2008-10-29 07:44:05 +00:00
parent a90ade78a9
commit add332fb85

View file

@ -2840,7 +2840,7 @@ class ModelTest extends CakeTestCase {
);
$this->assertEqual($result, $expected);
}
/**
/**
* testSaveHabtmCustomKeys method
*
* @access public
@ -2873,11 +2873,11 @@ class ModelTest extends CakeTestCase {
);
$this->assertEqual($result, $expected);
}
/**
* @todo This is technically incorrect (ThePaperMonkies.apple_id should be ThePaperMonkies.the_paper_id),
* the foreign key name should come from the association name, not the table name... but that's the existing
* functionality at this point.
* testHabtmSaveKeyResolution method
*
* @access public
* @return void
*/
function testHabtmSaveKeyResolution() {
$this->loadFixtures('Apple', 'Device', 'ThePaperMonkies');