aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Tests
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-02-28 14:22:11 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-06 21:09:15 +0100
commit2ab8cb681608d5887e0b6a92fcafff600a435e55 (patch)
treea8da01f3e0377ee7eb9b411549d4f4dd113d1eb2 /src/Wallabag/CoreBundle/Tests
parentdb2b4bf678c4c9e778ed0b817df182c9ee06520f (diff)
downloadwallabag-2ab8cb681608d5887e0b6a92fcafff600a435e55.tar.gz
wallabag-2ab8cb681608d5887e0b6a92fcafff600a435e55.tar.zst
wallabag-2ab8cb681608d5887e0b6a92fcafff600a435e55.zip
fix tests
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests')
-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')