11 lines
469 B
PHP
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();
|
|
});
|