TenantAtlas/tests/Feature/Filament/PolicyResourceAdminSearchParityTest.php
2026-03-12 23:26:32 +01:00

13 lines
337 B
PHP

<?php
declare(strict_types=1);
use App\Filament\Resources\PolicyResource;
it('disables policy global search explicitly for the rollout', function (): void {
$property = new \ReflectionProperty(PolicyResource::class, 'isGloballySearchable');
$property->setAccessible(true);
expect($property->getValue())->toBeFalse();
});