aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-06-11 23:05:19 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-20 16:03:35 +0200
commit906424c1b6fd884bf2081bfe6dd0b1f9651c2801 (patch)
tree8ca6896e1279e4d403a7b63c775bde7aa2bcf7ce /tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
parent9de9f1e5ceed4ac7ecd27e1cb808e630a831f94b (diff)
downloadwallabag-906424c1b6fd884bf2081bfe6dd0b1f9651c2801.tar.gz
wallabag-906424c1b6fd884bf2081bfe6dd0b1f9651c2801.tar.zst
wallabag-906424c1b6fd884bf2081bfe6dd0b1f9651c2801.zip
Crypt site credential password
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 104f60f1..80380685 100644
--- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
@@ -1341,7 +1341,7 @@ class EntryControllerTest extends WallabagCoreTestCase
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('foo');
1344 $credential->setPassword('bar'); 1344 $credential->setPassword($client->getContainer()->get('wallabag_core.helper.crypto_proxy')->crypt('bar'));
1345 1345
1346 $em->persist($credential); 1346 $em->persist($credential);
1347 $em->flush(); 1347 $em->flush();