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:
@@ -29,7 +29,7 @@ class LoadFiveBaskets extends \PhraseaFixture\AbstractWZ implements FixtureInter
|
||||
|
||||
public function load(ObjectManager $manager)
|
||||
{
|
||||
for ($i = 0; $i < 5; $i ++ ) {
|
||||
for ($i = 0; $i < 5; $i ++) {
|
||||
$basket = new \Entities\Basket();
|
||||
|
||||
$basket->setName('test ' . $i);
|
||||
|
@@ -6,6 +6,5 @@
|
||||
use Alchemy\Phrasea\CLI;
|
||||
|
||||
return call_user_func(function (CLI $cli) {
|
||||
|
||||
return $cli;
|
||||
}, $cli);
|
||||
|
@@ -6,6 +6,5 @@
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
return call_user_func(function (Application $app) {
|
||||
|
||||
return $app;
|
||||
}, $app);
|
||||
|
@@ -446,6 +446,7 @@ class LazaretTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
$phpunit = $this;
|
||||
self::$DI['app']['phraseanet.logger'] = self::$DI['app']->protect(function () use (&$called, $phpunit) {
|
||||
$called = true;
|
||||
|
||||
return $phpunit->getMockBuilder('\Session_Logger')
|
||||
->disableOriginalConstructor()
|
||||
->getMock();
|
||||
|
@@ -108,7 +108,6 @@ class UploadTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @covers Alchemy\Phrasea\Controller\Prod\Upload::upload
|
||||
* @covers Alchemy\Phrasea\Controller\Prod\Upload::getJsonResponse
|
||||
|
Reference in New Issue
Block a user