mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-03 14:47:30 +02:00
Remove exception from tests that cannot be thrown with specified call
This commit is contained in:
@@ -85,9 +85,6 @@ function processRequestData(\Delight\Auth\Auth $auth) {
|
|||||||
catch (\Delight\Auth\EmailNotVerifiedException $e) {
|
catch (\Delight\Auth\EmailNotVerifiedException $e) {
|
||||||
return 'email not verified';
|
return 'email not verified';
|
||||||
}
|
}
|
||||||
catch (\Delight\Auth\AttemptCancelledException $e) {
|
|
||||||
return 'attempt cancelled';
|
|
||||||
}
|
|
||||||
catch (\Delight\Auth\TooManyRequestsException $e) {
|
catch (\Delight\Auth\TooManyRequestsException $e) {
|
||||||
return 'too many requests';
|
return 'too many requests';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user