mirror of
https://github.com/friendica/friendica
synced 2024-12-22 14:00:15 +00:00
Rename ConsoleTest to ConsoleTestCase
This commit is contained in:
parent
9f8023b91f
commit
54ee36a6aa
5 changed files with 14 additions and 10 deletions
|
@ -5,13 +5,13 @@
|
|||
//
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
namespace Friendica\Test\src\Console;
|
||||
namespace Friendica\Test;
|
||||
|
||||
use Asika\SimpleConsole\Console;
|
||||
use Friendica\Test\MockedTestCase;
|
||||
use Friendica\Test\Util\Intercept;
|
||||
|
||||
abstract class ConsoleTest extends MockedTestCase
|
||||
abstract class ConsoleTestCase extends MockedTestCase
|
||||
{
|
||||
/**
|
||||
* @var array The default argv for a Console Instance
|
|
@ -16,6 +16,7 @@ use Friendica\Core\L10n;
|
|||
use Friendica\Core\Logger;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\DI;
|
||||
use Friendica\Test\ConsoleTestCase;
|
||||
use Friendica\Test\Util\RendererMockTrait;
|
||||
use Friendica\Test\Util\VFSTrait;
|
||||
use Mockery;
|
||||
|
@ -24,7 +25,7 @@ use org\bovigo\vfs\vfsStream;
|
|||
use org\bovigo\vfs\vfsStreamFile;
|
||||
use Psr\Log\NullLogger;
|
||||
|
||||
class AutomaticInstallationConsoleTest extends ConsoleTest
|
||||
class AutomaticInstallationConsoleTest extends ConsoleTestCase
|
||||
{
|
||||
use VFSTrait;
|
||||
use RendererMockTrait;
|
||||
|
|
|
@ -11,11 +11,12 @@ use Friendica\App;
|
|||
use Friendica\App\Mode;
|
||||
use Friendica\Console\Config;
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Friendica\Test\ConsoleTestCase;
|
||||
use Mockery;
|
||||
use Mockery\LegacyMockInterface;
|
||||
use Mockery\MockInterface;
|
||||
|
||||
class ConfigConsoleTest extends ConsoleTest
|
||||
class ConfigConsoleTest extends ConsoleTestCase
|
||||
{
|
||||
/**
|
||||
* @var App\Mode|MockInterface $appMode
|
||||
|
|
|
@ -11,10 +11,11 @@ use Friendica\App;
|
|||
use Friendica\App\Mode;
|
||||
use Friendica\Console\Lock;
|
||||
use Friendica\Core\Lock\Capability\ICanLock;
|
||||
use Friendica\Test\ConsoleTestCase;
|
||||
use Mockery;
|
||||
use Mockery\MockInterface;
|
||||
|
||||
class LockConsoleTest extends ConsoleTest
|
||||
class LockConsoleTest extends ConsoleTestCase
|
||||
{
|
||||
/**
|
||||
* @var App\Mode|MockInterface $appMode
|
||||
|
|
|
@ -9,10 +9,11 @@ namespace Friendica\Test\src\Console;
|
|||
|
||||
use Friendica\Console\ServerBlock;
|
||||
use Friendica\Moderation\DomainPatternBlocklist;
|
||||
use Friendica\Test\ConsoleTestCase;
|
||||
use Friendica\Test\FixtureTestTrait;
|
||||
use Mockery;
|
||||
|
||||
class ServerBlockConsoleTest extends ConsoleTest
|
||||
class ServerBlockConsoleTest extends ConsoleTestCase
|
||||
{
|
||||
use FixtureTestTrait;
|
||||
|
||||
|
|
Loading…
Reference in a new issue