Updating method names and doc blocks in model.test. Closes #5516

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7704 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-10-05 22:26:40 +00:00
parent 3ddc5e6be2
commit a5feed0284

View file

@ -1038,7 +1038,7 @@ class ModelTest extends CakeTestCase {
// $this->assertTrue(empty($result));
}
/**
* testFindAll method
* test find('all') method
*
* @access public
* @return void
@ -1134,12 +1134,12 @@ class ModelTest extends CakeTestCase {
}
}
/**
* testGenerateList method
* test find('list') method
*
* @access public
* @return void
*/
function testGenerateList() {
function testGenerateFindList() {
$this->loadFixtures('Article', 'Apple', 'Post', 'Author', 'User');
$TestModel =& new Article();
@ -1560,7 +1560,7 @@ class ModelTest extends CakeTestCase {
$this->assertEqual($result, $expected);
}
/**
* testFindCount method
* test find('count'') method
*
* @access public
* @return void
@ -4036,12 +4036,12 @@ class ModelTest extends CakeTestCase {
$this->assertEqual($result, $expected);
}
/**
* testFindNeighbours method
* test find('neighbors')
*
* @return void
* @access public
*/
function testFindNeighbours() {
function testFindNeighbors() {
$this->loadFixtures('User', 'Article');
$TestModel =& new Article();
@ -4171,7 +4171,7 @@ class ModelTest extends CakeTestCase {
$this->assertEqual($result, $expected);
}
/**
* testFindNeighboursLegacy method
* test findNeighbours() method
*
* @return void
* @access public