]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix tests
authorNicolas Lœuillet <nicolas@loeuillet.org>
Sat, 28 Feb 2015 13:22:11 +0000 (14:22 +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 c45e52d782be5218f31faded99473a4a4642b778..0eca7cde6821407d7d51d107e7b6ef0b34653fb8 100644 (file)
@@ -140,7 +140,7 @@ class WallabagRestControllerTest extends WallabagTestCase
         $client->request('GET', '/api/salts/admin.json');
         $salt = json_decode($client->getResponse()->getContent());
 
-        $headers = $this->generateHeaders('admin', 'test', $salt[0]);
+        $headers = $this->generateHeaders('admin', 'mypassword', $salt[0]);
 
         $client->request('DELETE', '/api/entries/'.$entry->getId().'.json', array(), array(), $headers);
 
@@ -152,7 +152,7 @@ class WallabagRestControllerTest extends WallabagTestCase
         $client = $this->createClient();
         $client->request('GET', '/api/salts/admin.json');
         $salt = json_decode($client->getResponse()->getContent());
-        $headers = $this->generateHeaders('admin', 'test', $salt[0]);
+        $headers = $this->generateHeaders('admin', 'mypassword', $salt[0]);
 
         $entry = $client->getContainer()
             ->get('doctrine.orm.entity_manager')
@@ -180,7 +180,7 @@ class WallabagRestControllerTest extends WallabagTestCase
         $client = $this->createClient();
         $client->request('GET', '/api/salts/admin.json');
         $salt = json_decode($client->getResponse()->getContent());
-        $headers = $this->generateHeaders('admin', 'test', $salt[0]);
+        $headers = $this->generateHeaders('admin', 'mypassword', $salt[0]);
 
         $entry = $client->getContainer()
             ->get('doctrine.orm.entity_manager')