mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
6c5f98ddec
commit
62d4397d4a
2 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -274,6 +274,7 @@ class RequestHandlerComponentTest extends CakeTestCase {
|
|||
function tearDown() {
|
||||
unset($this->RequestHandler);
|
||||
unset($this->Controller);
|
||||
header('Content-type: text/html'); //reset content type.
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Reference in a new issue