fix test issues
API CI/CD / Validate (composer + pint) (push) Successful in 3m30s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m1s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

This commit is contained in:
root
2026-07-07 09:06:42 -04:00
parent 3fde161f29
commit f83f21936f
22 changed files with 93 additions and 47 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class RoleStoreRequest extends ApiFormRequest
{
public function authorize(): bool
{
return auth()->check();
return $this->user() !== null;
}
public function rules(): array