1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-02 14:17:26 +02:00

Remove exception from tests that cannot be thrown with specified call

This commit is contained in:
Marco
2017-08-19 00:47:42 +02:00
parent 3d8c583823
commit 05567acc7c

View File

@@ -85,9 +85,6 @@ function processRequestData(\Delight\Auth\Auth $auth) {
catch (\Delight\Auth\EmailNotVerifiedException $e) {
return 'email not verified';
}
catch (\Delight\Auth\AttemptCancelledException $e) {
return 'attempt cancelled';
}
catch (\Delight\Auth\TooManyRequestsException $e) {
return 'too many requests';
}