Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/PHPUnit/Controller/AbstractControllerTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ abstract class AbstractControllerTestCase extends PHPUnit_Framework_TestCase
/**
* Reset the application for isolation
*/
public function setUp()
protected function setUp()
{
$this->usedConsoleBackup = Console::isConsole();
$this->reset();
Expand All @@ -62,7 +62,7 @@ public function setUp()
/**
* Restore params
*/
public function tearDown()
protected function tearDown()
{
Console::overrideIsConsole($this->usedConsoleBackup);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
class AbstractConsoleControllerTestCaseTest extends AbstractConsoleControllerTestCase
{
public function setUp()
protected function setUp()
{
$this->setApplicationConfig(
include __DIR__ . '/../../_files/application.config.php'
Expand Down
4 changes: 2 additions & 2 deletions test/PHPUnit/Controller/AbstractControllerTestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function rmdir($dir)
return rmdir($dir);
}

public function setUp()
protected function setUp()
{
$this->tearDownCacheDir();
Console::overrideIsConsole(null);
Expand All @@ -51,7 +51,7 @@ public function setUp()
parent::setUp();
}

public function tearDown()
protected function tearDown()
{
$this->tearDownCacheDir();
parent::tearDown();
Expand Down

0 comments on commit cf6ac15

Please sign in to comment.