Files
ABSDEV/Modules/Enterprise/Tests/Feature/EnterpriseModuleBootTest.php
T
Mark Gregory 44684c93e5 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
2026-07-24 12:14:58 +01:00

9 lines
437 B
PHP

<?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();
});