Fix tests

This commit is contained in:
Romain Neutron
2012-10-09 19:51:36 +02:00
parent b940622a50
commit c840969e45

View File

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