]> git.mxchange.org Git - friendica.git/commitdiff
removed unnecessary use
authorPhilipp Holzer <admin@philipp.info>
Wed, 31 Oct 2018 09:19:33 +0000 (10:19 +0100)
committerPhilipp Holzer <admin@philipp.info>
Wed, 31 Oct 2018 09:19:33 +0000 (10:19 +0100)
tests/src/Core/Console/ConfigConsoleTest.php

index 683c7a2e372aa0be5f2eae4f461104e6ec58a648..1d5b3a628e2f5a2d219a0870f8d4eb7f16378f30 100644 (file)
@@ -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);