aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php
index c45e52d7..0eca7cde 100644
--- a/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php
+++ b/src/Wallabag/CoreBundle/Tests/Controller/WallabagRestControllerTest.php
@@ -140,7 +140,7 @@ class WallabagRestControllerTest extends WallabagTestCase
140 $client->request('GET', '/api/salts/admin.json'); 140 $client->request('GET', '/api/salts/admin.json');
141 $salt = json_decode($client->getResponse()->getContent()); 141 $salt = json_decode($client->getResponse()->getContent());
142 142
143 $headers = $this->generateHeaders('admin', 'test', $salt[0]); 143 $headers = $this->generateHeaders('admin', 'mypassword', $salt[0]);
144 144
145 $client->request('DELETE', '/api/entries/'.$entry->getId().'.json', array(), array(), $headers); 145 $client->request('DELETE', '/api/entries/'.$entry->getId().'.json', array(), array(), $headers);
146 146
@@ -152,7 +152,7 @@ class WallabagRestControllerTest extends WallabagTestCase
152 $client = $this->createClient(); 152 $client = $this->createClient();
153 $client->request('GET', '/api/salts/admin.json'); 153 $client->request('GET', '/api/salts/admin.json');
154 $salt = json_decode($client->getResponse()->getContent()); 154 $salt = json_decode($client->getResponse()->getContent());
155 $headers = $this->generateHeaders('admin', 'test', $salt[0]); 155 $headers = $this->generateHeaders('admin', 'mypassword', $salt[0]);
156 156
157 $entry = $client->getContainer() 157 $entry = $client->getContainer()
158 ->get('doctrine.orm.entity_manager') 158 ->get('doctrine.orm.entity_manager')
@@ -180,7 +180,7 @@ class WallabagRestControllerTest extends WallabagTestCase
180 $client = $this->createClient(); 180 $client = $this->createClient();
181 $client->request('GET', '/api/salts/admin.json'); 181 $client->request('GET', '/api/salts/admin.json');
182 $salt = json_decode($client->getResponse()->getContent()); 182 $salt = json_decode($client->getResponse()->getContent());
183 $headers = $this->generateHeaders('admin', 'test', $salt[0]); 183 $headers = $this->generateHeaders('admin', 'mypassword', $salt[0]);
184 184
185 $entry = $client->getContainer() 185 $entry = $client->getContainer()
186 ->get('doctrine.orm.entity_manager') 186 ->get('doctrine.orm.entity_manager')