removed unnecessary use
This commit is contained in:
parent
0e22c18a9d
commit
551efde226
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue