This commit is contained in:
Romain Neutron
2013-09-04 12:13:33 +02:00
parent dbd06e9091
commit b6a8a90197
11 changed files with 63 additions and 65 deletions

View File

@@ -6,6 +6,5 @@
use Alchemy\Phrasea\CLI;
return call_user_func(function (CLI $cli) {
return $cli;
}, $cli);

View File

@@ -6,6 +6,5 @@
use Alchemy\Phrasea\Application;
return call_user_func(function (Application $app) {
return $app;
}, $app);

View File

@@ -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();

View File

@@ -108,7 +108,6 @@ class UploadTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
}
}
/**
* @covers Alchemy\Phrasea\Controller\Prod\Upload::upload
* @covers Alchemy\Phrasea\Controller\Prod\Upload::getJsonResponse