All components group works. Acl test and Auth test were clobbering each other.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7000 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-05-22 02:46:24 +00:00
parent 6c5f98ddec
commit 62d4397d4a
2 changed files with 2 additions and 0 deletions

View file

@ -155,6 +155,7 @@ class AuthTest extends CakeTestCase {
function startTest() {
if (!$this->initialized) {
Configure::write('Acl.database', 'test_suite');
Configure::write('Acl.classname', 'DbAcl');
if (isset($this->fixtures) && (!is_array($this->fixtures) || empty($this->fixtures))) {
unset($this->fixtures);
}

View file

@ -274,6 +274,7 @@ class RequestHandlerComponentTest extends CakeTestCase {
function tearDown() {
unset($this->RequestHandler);
unset($this->Controller);
header('Content-type: text/html'); //reset content type.
}
}
?>