Enterprise Services administration dashboard
* Database health checks * Cache health checks * Storage write and disk-space checks * Failed queue job monitoring * Production environment diagnostics * Persisted health-check history * Queue retry controls * Scheduler execution controls * Cache and optimisation clearing * Backup creation and retention * Backup deletion * SQLite database backup support * Backup manifests and module metadata * Artisan health and backup commands * Administration navigation * Enterprise permissions * Module registration and tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
use Modules\Enterprise\Services\SystemHealthService;
|
||||
|
||||
it('boots the enterprise module', fn () => expect(app()->providerIsLoaded(Modules\Enterprise\Providers\EnterpriseServiceProvider::class))->toBeTrue());
|
||||
it('runs platform health checks', function (): void {
|
||||
$result = app(SystemHealthService::class)->run();
|
||||
expect($result)->toHaveKeys(['status', 'checks', 'generated_at'])->and($result['checks'])->not->toBeEmpty();
|
||||
});
|
||||
Reference in New Issue
Block a user