mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Fix CS
This commit is contained in:
@@ -6,6 +6,5 @@
|
|||||||
use Alchemy\Phrasea\CLI;
|
use Alchemy\Phrasea\CLI;
|
||||||
|
|
||||||
return call_user_func(function (CLI $cli) {
|
return call_user_func(function (CLI $cli) {
|
||||||
|
|
||||||
return $cli;
|
return $cli;
|
||||||
}, $cli);
|
}, $cli);
|
||||||
|
@@ -6,6 +6,5 @@
|
|||||||
use Alchemy\Phrasea\Application;
|
use Alchemy\Phrasea\Application;
|
||||||
|
|
||||||
return call_user_func(function (Application $app) {
|
return call_user_func(function (Application $app) {
|
||||||
|
|
||||||
return $app;
|
return $app;
|
||||||
}, $app);
|
}, $app);
|
||||||
|
@@ -446,6 +446,7 @@ class LazaretTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
$phpunit = $this;
|
$phpunit = $this;
|
||||||
self::$DI['app']['phraseanet.logger'] = self::$DI['app']->protect(function () use (&$called, $phpunit) {
|
self::$DI['app']['phraseanet.logger'] = self::$DI['app']->protect(function () use (&$called, $phpunit) {
|
||||||
$called = true;
|
$called = true;
|
||||||
|
|
||||||
return $phpunit->getMockBuilder('\Session_Logger')
|
return $phpunit->getMockBuilder('\Session_Logger')
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock();
|
->getMock();
|
||||||
|
@@ -108,7 +108,6 @@ class UploadTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers Alchemy\Phrasea\Controller\Prod\Upload::upload
|
* @covers Alchemy\Phrasea\Controller\Prod\Upload::upload
|
||||||
* @covers Alchemy\Phrasea\Controller\Prod\Upload::getJsonResponse
|
* @covers Alchemy\Phrasea\Controller\Prod\Upload::getJsonResponse
|
||||||
|
Reference in New Issue
Block a user