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');