mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 13:55:01 +02:00
Fix and complete tests
This commit is contained in:
@ -93,9 +93,11 @@ class UserController extends Controller
|
||||
Artisan::call('passport:install --force');
|
||||
Artisan::call('config:clear');
|
||||
}
|
||||
// @codeCoverageIgnoreStart
|
||||
catch (\Throwable $e) {
|
||||
return response()->json(['message' => __('errors.user_deletion_failed')], 400);
|
||||
}
|
||||
// @codeCoverageIgnoreEnd
|
||||
|
||||
return response()->json(null, 204);
|
||||
}
|
||||
|
Reference in New Issue
Block a user