mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add error pages, fix error handling and PHP conf
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use Alchemy\Phrasea\Border\File as BorderFile;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class API_V1_adapterTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
{
|
||||
@@ -593,7 +594,7 @@ class API_V1_adapterTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
try {
|
||||
$repo->findUserBasket(self::$DI['app'], $ssel_id, $user, true);
|
||||
$this->fail('An exception should have been raised');
|
||||
} catch (Exception_NotFound $e) {
|
||||
} catch (NotFoundHttpException $e) {
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user