X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2Fsrc%2FConsole%2FLockConsoleTest.php;h=29e2a90cb852238a8452d5936c1788e3ecae7ad2;hb=dce86be58efad2db2e4a473bbf8dd4d1f281d5b7;hp=e06ee3a4ca55199e973bb3aeb70a90ca49226b5d;hpb=efaec26b1d8aa9af88994eaddafc7fcec4ae9ce1;p=friendica.git diff --git a/tests/src/Console/LockConsoleTest.php b/tests/src/Console/LockConsoleTest.php index e06ee3a4ca..29e2a90cb8 100644 --- a/tests/src/Console/LockConsoleTest.php +++ b/tests/src/Console/LockConsoleTest.php @@ -1,6 +1,6 @@ setConstantsMap([ + Mockery::getConfiguration()->setConstantsMap([ Mode::class => [ 'DBCONFIGAVAILABLE' => 0 ] ]); - $this->appMode = \Mockery::mock(App\Mode::class); + $this->appMode = Mockery::mock(App\Mode::class); $this->appMode->shouldReceive('has') ->andReturn(true); - $this->lockMock = \Mockery::mock(ILock::class); + $this->lockMock = Mockery::mock(ICanLock::class); } public function testList()