Added ClassRegistry::flush() to testAction(). Repairs issue with view vars not being unique between testAction() calls in the same test case. Closes #5273

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7470 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-08-15 17:08:00 +00:00
parent fb5a0a6f12
commit a53a08574d

View file

@ -316,6 +316,7 @@ class CakeTestCase extends UnitTestCase {
if (isset($this->_actionFixtures)) {
unset($this->_actionFixtures);
}
ClassRegistry::flush();
return $result;
}