]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
remove useless code
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 26 Feb 2015 14:27:00 +0000 (15:27 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 6 Mar 2015 20:09:15 +0000 (21:09 +0100)
src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php

index b0f4a84254a26eaeea9452b7fd65a68726d0de81..7ccc37d20e6790ea98d8ac007832c82c713aee90 100644 (file)
@@ -44,10 +44,6 @@ class WallabagRestControllerTest extends WallabagTestCase
     public function testWithBadHeaders()
     {
         $client = $this->createClient();
     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')
 
         $entry = $client->getContainer()
             ->get('doctrine.orm.entity_manager')