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;
|
namespace Friendica\Test\src\Core\Console;
|
||||||
|
|
||||||
use Friendica\Core\Console\Config;
|
use Friendica\Core\Console\Config;
|
||||||
use \Mockery as m;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @runTestsInSeparateProcesses
|
* @runTestsInSeparateProcesses
|
||||||
|
@ -16,13 +15,13 @@ class ConfigConsoleTest extends ConsoleTest
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
m::getConfiguration()->setConstantsMap([
|
\Mockery::getConfiguration()->setConstantsMap([
|
||||||
'Friendica\App\Mode' => [
|
'Friendica\App\Mode' => [
|
||||||
'DBCONFIGAVAILABLE' => 0
|
'DBCONFIGAVAILABLE' => 0
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$mode = m::mock('alias:Friendica\App\Mode');
|
$mode = \Mockery::mock('alias:Friendica\App\Mode');
|
||||||
$mode
|
$mode
|
||||||
->shouldReceive('has')
|
->shouldReceive('has')
|
||||||
->andReturn(true);
|
->andReturn(true);
|
||||||
|
|
Loading…
Reference in a new issue