Fix and complete tests

This commit is contained in:
Bubka
2022-03-31 08:38:35 +02:00
parent 5eee3de134
commit ee22e24cf1
34 changed files with 1179 additions and 227 deletions

View File

@ -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);
}