From: Nicolas LÅ“uillet Date: Thu, 26 Feb 2015 14:27:00 +0000 (+0100) Subject: remove useless code X-Git-Tag: 2.0.0-alpha.0~73^2~8 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=1df1204d94a26cda064886c827a23ba642ebc769;p=github%2Fwallabag%2Fwallabag.git remove useless code --- diff --git a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php index b0f4a842..7ccc37d2 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php @@ -44,10 +44,6 @@ class WallabagRestControllerTest extends WallabagTestCase public function testWithBadHeaders() { $client = $this->createClient(); - $client->request('GET', '/api/salts/admin.json'); - $salt = json_decode($client->getResponse()->getContent()); - - $headers = $this->generateHeaders('admin', 'mypassword', $salt[0]); $entry = $client->getContainer() ->get('doctrine.orm.entity_manager')