diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-03-08 22:47:32 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-03-08 22:47:32 +0100 |
commit | d0c2243b1099303be961c9d4b33eaaa95e663bef (patch) | |
tree | 4c81979adefda73fea12bada41c3e40caef285eb /src/Wallabag/CoreBundle/Controller/SecurityController.php | |
parent | 6894d48e03c397096bb64420373afa60c397fe97 (diff) | |
download | wallabag-d0c2243b1099303be961c9d4b33eaaa95e663bef.tar.gz wallabag-d0c2243b1099303be961c9d4b33eaaa95e663bef.tar.zst wallabag-d0c2243b1099303be961c9d4b33eaaa95e663bef.zip |
Add some tests
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller/SecurityController.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/SecurityController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/SecurityController.php b/src/Wallabag/CoreBundle/Controller/SecurityController.php index 5007307a..fe511db5 100644 --- a/src/Wallabag/CoreBundle/Controller/SecurityController.php +++ b/src/Wallabag/CoreBundle/Controller/SecurityController.php | |||
@@ -103,7 +103,7 @@ class SecurityController extends Controller | |||
103 | $user = $this->getDoctrine()->getRepository('WallabagCoreBundle:User')->findOneByConfirmationToken($token); | 103 | $user = $this->getDoctrine()->getRepository('WallabagCoreBundle:User')->findOneByConfirmationToken($token); |
104 | 104 | ||
105 | if (null === $user) { | 105 | if (null === $user) { |
106 | $this->createNotFoundException(sprintf('No user found with token "%s"', $token)); | 106 | throw $this->createNotFoundException(sprintf('No user found with token "%s"', $token)); |
107 | } | 107 | } |
108 | 108 | ||
109 | $form = $this->createForm(new ResetPasswordType()); | 109 | $form = $this->createForm(new ResetPasswordType()); |