From c840969e45dfe12c8ddf76ca73b8c72a1714b937 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Tue, 9 Oct 2012 19:51:36 +0200 Subject: [PATCH] Fix tests --- tests/Alchemy/Phrasea/Controller/Root/AccountTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Alchemy/Phrasea/Controller/Root/AccountTest.php b/tests/Alchemy/Phrasea/Controller/Root/AccountTest.php index d8fcd4db6f..50f043d40c 100644 --- a/tests/Alchemy/Phrasea/Controller/Root/AccountTest.php +++ b/tests/Alchemy/Phrasea/Controller/Root/AccountTest.php @@ -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());