ConsoleTest is now a MockedTest
This commit is contained in:
parent
433d6abe8c
commit
835b5c00ee
1 changed files with 2 additions and 9 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue