diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php | 8 |
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(); |