aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-11-23 09:53:18 +0100
committerGitHub <noreply@github.com>2016-11-23 09:53:18 +0100
commitf4a98334903f01e6109b09e27dc1ebefab8f8865 (patch)
tree91bc4aaa5bbebb141911477113d28ab00973603f /tests
parent75a4b3b23fcc183d926eb7cc782762085661b2da (diff)
parentfcbf253b6bc0772adaf0d0e7cc51de50046cf64e (diff)
downloadwallabag-f4a98334903f01e6109b09e27dc1ebefab8f8865.tar.gz
wallabag-f4a98334903f01e6109b09e27dc1ebefab8f8865.tar.zst
wallabag-f4a98334903f01e6109b09e27dc1ebefab8f8865.zip
Merge pull request #2620 from wallabag/fix-password-layout
Fix password layout
Diffstat (limited to 'tests')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
index 9bbc5960..a28c3b6b 100644
--- a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php
@@ -592,13 +592,13 @@ class ConfigControllerTest extends WallabagCoreTestCase
592 $user = $em 592 $user = $em
593 ->getRepository('WallabagUserBundle:User') 593 ->getRepository('WallabagUserBundle:User')
594 ->findOneByUsername('empty'); 594 ->findOneByUsername('empty');
595 $user->setExpired(1); 595 $user->setEnabled(false);
596 $em->persist($user); 596 $em->persist($user);
597 597
598 $user = $em 598 $user = $em
599 ->getRepository('WallabagUserBundle:User') 599 ->getRepository('WallabagUserBundle:User')
600 ->findOneByUsername('bob'); 600 ->findOneByUsername('bob');
601 $user->setExpired(1); 601 $user->setEnabled(false);
602 $em->persist($user); 602 $em->persist($user);
603 603
604 $em->flush(); 604 $em->flush();
@@ -614,13 +614,13 @@ class ConfigControllerTest extends WallabagCoreTestCase
614 $user = $em 614 $user = $em
615 ->getRepository('WallabagUserBundle:User') 615 ->getRepository('WallabagUserBundle:User')
616 ->findOneByUsername('empty'); 616 ->findOneByUsername('empty');
617 $user->setExpired(0); 617 $user->setEnabled(true);
618 $em->persist($user); 618 $em->persist($user);
619 619
620 $user = $em 620 $user = $em
621 ->getRepository('WallabagUserBundle:User') 621 ->getRepository('WallabagUserBundle:User')
622 ->findOneByUsername('bob'); 622 ->findOneByUsername('bob');
623 $user->setExpired(0); 623 $user->setEnabled(true);
624 $em->persist($user); 624 $em->persist($user);
625 625
626 $em->flush(); 626 $em->flush();