From f13302b0143dd6191764faf55e079aeee299c35f Mon Sep 17 00:00:00 2001 From: Marco Date: Sun, 30 Jul 2017 20:13:28 +0200 Subject: [PATCH] Update tests for 'confirmEmail' and its wrapper to catch new exception --- tests/index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/index.php b/tests/index.php index ef941dc..f3e918f 100644 --- a/tests/index.php +++ b/tests/index.php @@ -165,6 +165,9 @@ function processRequestData(\Delight\Auth\Auth $auth) { catch (\Delight\Auth\TokenExpiredException $e) { return 'token expired'; } + catch (\Delight\Auth\UserAlreadyExistsException $e) { + return 'email address already exists'; + } catch (\Delight\Auth\TooManyRequestsException $e) { return 'too many requests'; }