mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fixing typo in test method name. Fixes #5348
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7529 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
db5235261e
commit
3dc8bcbfe8
1 changed files with 10 additions and 10 deletions
|
@ -30,7 +30,7 @@ App::import('Core', 'ClassRegistry');
|
|||
/**
|
||||
* ClassRegisterModel class
|
||||
*
|
||||
* @package cake
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.cases.libs
|
||||
*/
|
||||
class ClassRegisterModel extends CakeTestModel {
|
||||
|
@ -45,7 +45,7 @@ class ClassRegisterModel extends CakeTestModel {
|
|||
/**
|
||||
* RegisterArticle class
|
||||
*
|
||||
* @package cake
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.cases.libs
|
||||
*/
|
||||
class RegisterArticle extends ClassRegisterModel {
|
||||
|
@ -60,7 +60,7 @@ class RegisterArticle extends ClassRegisterModel {
|
|||
/**
|
||||
* RegisterArticleFeatured class
|
||||
*
|
||||
* @package cake
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.cases.libs
|
||||
*/
|
||||
class RegisterArticleFeatured extends ClassRegisterModel {
|
||||
|
@ -75,7 +75,7 @@ class RegisterArticleFeatured extends ClassRegisterModel {
|
|||
/**
|
||||
* RegisterArticleTag class
|
||||
*
|
||||
* @package cake
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.cases.libs
|
||||
*/
|
||||
class RegisterArticleTag extends ClassRegisterModel {
|
||||
|
@ -90,7 +90,7 @@ class RegisterArticleTag extends ClassRegisterModel {
|
|||
/**
|
||||
* RegistryPluginAppModel class
|
||||
*
|
||||
* @package cake
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.cases.libs
|
||||
*/
|
||||
class RegistryPluginAppModel extends ClassRegisterModel {
|
||||
|
@ -105,7 +105,7 @@ class RegistryPluginAppModel extends ClassRegisterModel {
|
|||
/**
|
||||
* TestRegistryPluginModel class
|
||||
*
|
||||
* @package cake
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.cases.libs
|
||||
*/
|
||||
class TestRegistryPluginModel extends RegistryPluginAppModel {
|
||||
|
@ -120,7 +120,7 @@ class TestRegistryPluginModel extends RegistryPluginAppModel {
|
|||
/**
|
||||
* ClassRegistryTest class
|
||||
*
|
||||
* @package cake
|
||||
* @package cake.tests
|
||||
* @subpackage cake.tests.cases.libs
|
||||
*/
|
||||
class ClassRegistryTest extends CakeTestCase {
|
||||
|
@ -171,7 +171,7 @@ class ClassRegistryTest extends CakeTestCase {
|
|||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function testClassRegistryFlush () {
|
||||
function testClassRegistryFlush() {
|
||||
$ArticleTag = ClassRegistry::getObject('RegisterArticleTag');
|
||||
$this->assertTrue(is_a($ArticleTag, 'RegisterArticleTag'));
|
||||
ClassRegistry::flush();
|
||||
|
@ -181,12 +181,12 @@ class ClassRegistryTest extends CakeTestCase {
|
|||
$this->assertTrue(is_a($ArticleTag, 'RegisterArticleTag'));
|
||||
}
|
||||
/**
|
||||
* testAddMultiplModels method
|
||||
* testAddMultipleModels method
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function testAddMultiplModels () {
|
||||
function testAddMultipleModels() {
|
||||
$Article = ClassRegistry::isKeySet('Article');
|
||||
$this->assertFalse($Article);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue