From 2262e5803ce6604a2b0792f161f41b5a42d9833c Mon Sep 17 00:00:00 2001 From: tclineks Date: Thu, 17 Apr 2008 20:33:54 +0000 Subject: [PATCH] fixed removal of test model instance from registry git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6681 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/view/helpers/form.test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/cases/libs/view/helpers/form.test.php b/cake/tests/cases/libs/view/helpers/form.test.php index cb0c57324..e126fd6d7 100644 --- a/cake/tests/cases/libs/view/helpers/form.test.php +++ b/cake/tests/cases/libs/view/helpers/form.test.php @@ -1766,7 +1766,7 @@ class FormHelperTest extends CakeTestCase { function tearDown() { ClassRegistry::removeObject('view'); ClassRegistry::removeObject('Contact'); - ClassRegistry::removeObject('ContactNonStandardPkEditForm'); + ClassRegistry::removeObject('ContactNonStandardPk'); ClassRegistry::removeObject('ContactTag'); ClassRegistry::removeObject('OpenidUrl'); ClassRegistry::removeObject('UserForm');