migrating tests (Application, Console and Cronjob)

This commit is contained in:
Saeed Vaziry
2024-10-08 22:15:50 +02:00
parent 974af959f1
commit 0da21f40bd
39 changed files with 254 additions and 2684 deletions

View File

@ -21,13 +21,13 @@ class Settings extends Page
protected static bool $shouldRegisterNavigation = false;
public static function canAccess(): bool
{
return auth()->user()?->can('update', get_from_route(Project::class, 'project')) ?? false;
}
public Project $project;
public function mount(): void
{
$this->authorize('update', $this->project);
}
public function getWidgets(): array
{
return [