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

@ -12,11 +12,11 @@ class Index extends Page
protected static ?string $slug = 'servers/{server}/console';
protected static ?string $title = 'Console';
protected static ?string $title = 'Headless Console';
public static function canAccess(): bool
public function mount(): void
{
return auth()->user()?->can('update', static::getServerFromRoute()) ?? false;
$this->authorize('manage', $this->server);
}
public function getWidgets(): array