mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix tests
This commit is contained in:
@@ -373,7 +373,7 @@ class AccountTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
|
||||
public function testAUthorizedAppGrantAccessNotSuccessfull()
|
||||
{
|
||||
self::$DI['client']->request('GET', '/account/security/application/3/grant/', array(), array(), array('HTTP_ACCEPT' => 'application/json', 'HTTP_X-Requested-With' => 'XMLHttpRequest'));
|
||||
self::$DI['client']->request('GET', '/account/security/application/0/grant/', array(), array(), array('HTTP_ACCEPT' => 'application/json', 'HTTP_X-Requested-With' => 'XMLHttpRequest'));
|
||||
$response = self::$DI['client']->getResponse();
|
||||
|
||||
$this->assertTrue($response->isOk());
|
||||
|
Reference in New Issue
Block a user