From: Philipp Holzer Date: Wed, 31 Oct 2018 09:19:33 +0000 (+0100) Subject: removed unnecessary use X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=551efde2265434f13e718a34d8bffef0f594836c;p=friendica.git removed unnecessary use --- diff --git a/tests/src/Core/Console/ConfigConsoleTest.php b/tests/src/Core/Console/ConfigConsoleTest.php index 683c7a2e37..1d5b3a628e 100644 --- a/tests/src/Core/Console/ConfigConsoleTest.php +++ b/tests/src/Core/Console/ConfigConsoleTest.php @@ -3,7 +3,6 @@ namespace Friendica\Test\src\Core\Console; use Friendica\Core\Console\Config; -use \Mockery as m; /** * @runTestsInSeparateProcesses @@ -16,13 +15,13 @@ class ConfigConsoleTest extends ConsoleTest { parent::setUp(); - m::getConfiguration()->setConstantsMap([ + \Mockery::getConfiguration()->setConstantsMap([ 'Friendica\App\Mode' => [ 'DBCONFIGAVAILABLE' => 0 ] ]); - $mode = m::mock('alias:Friendica\App\Mode'); + $mode = \Mockery::mock('alias:Friendica\App\Mode'); $mode ->shouldReceive('has') ->andReturn(true);