mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
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:
parent
3ddc5e6be2
commit
a5feed0284
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue