From: Philipp Holzer Date: Sat, 2 Feb 2019 18:21:48 +0000 (+0100) Subject: ConsoleTest is now a MockedTest X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=835b5c00ee4b0971ce31d4b89de71196052cf86a;p=friendica.git ConsoleTest is now a MockedTest --- diff --git a/tests/src/Core/Console/ConsoleTest.php b/tests/src/Core/Console/ConsoleTest.php index 0997269c06..4f7acc9c42 100644 --- a/tests/src/Core/Console/ConsoleTest.php +++ b/tests/src/Core/Console/ConsoleTest.php @@ -3,12 +3,12 @@ namespace Friendica\Test\src\Core\Console; use Asika\SimpleConsole\Console; +use Friendica\Test\MockedTest; use Friendica\Test\Util\AppMockTrait; use Friendica\Test\Util\Intercept; use Friendica\Test\Util\VFSTrait; -use PHPUnit\Framework\TestCase; -abstract class ConsoleTest extends TestCase +abstract class ConsoleTest extends MockedTest { use VFSTrait; use AppMockTrait; @@ -32,13 +32,6 @@ abstract class ConsoleTest extends TestCase $this->mockApp($this->root); } - protected function tearDown() - { - \Mockery::close(); - - parent::tearDown(); - } - /** * Dumps the execution of an console output to a string and returns it *