Files
ABSDEV/Modules/Enterprise/Tests/Feature/EnterpriseModuleBootTest.php
T
2026-07-24 14:59:44 +01:00

11 lines
469 B
PHP

<?php
use Modules\Enterprise\Providers\EnterpriseServiceProvider;
use Modules\Enterprise\Services\SystemHealthService;
it('boots the enterprise module', fn () => expect(app()->providerIsLoaded(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();
});