aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-06-14 15:02:34 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-20 16:03:39 +0200
commitbead8b42da4f17238dc0d5e0f90184b224ec5df7 (patch)
tree67af15e3f45dc496e492767095e5f4b477e56848 /tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
parent906424c1b6fd884bf2081bfe6dd0b1f9651c2801 (diff)
downloadwallabag-bead8b42da4f17238dc0d5e0f90184b224ec5df7.tar.gz
wallabag-bead8b42da4f17238dc0d5e0f90184b224ec5df7.tar.zst
wallabag-bead8b42da4f17238dc0d5e0f90184b224ec5df7.zip
Fix reviews
Encrypt username too Redirect to list after saving credentials Fix typos Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
index 80380685..f17dc97b 100644
--- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
@@ -1340,7 +1340,7 @@ class EntryControllerTest extends WallabagCoreTestCase
1340 $user = $client->getContainer()->get('security.token_storage')->getToken()->getUser(); 1340 $user = $client->getContainer()->get('security.token_storage')->getToken()->getUser();
1341 $credential = new SiteCredential($user); 1341 $credential = new SiteCredential($user);
1342 $credential->setHost('monde-diplomatique.fr'); 1342 $credential->setHost('monde-diplomatique.fr');
1343 $credential->setUsername('foo'); 1343 $credential->setUsername($client->getContainer()->get('wallabag_core.helper.crypto_proxy')->crypt('foo'));
1344 $credential->setPassword($client->getContainer()->get('wallabag_core.helper.crypto_proxy')->crypt('bar')); 1344 $credential->setPassword($client->getContainer()->get('wallabag_core.helper.crypto_proxy')->crypt('bar'));
1345 1345
1346 $em->persist($credential); 1346 $em->persist($credential);