actingAs($user); $tenant->makeCurrent(); Filament::setTenant($tenant, true); /** @var OperationRunService $service */ $service = app(OperationRunService::class); $run = $service->ensureRun( tenant: $tenant, type: 'policy.sync', inputs: ['scope' => 'all'], initiator: $user, ); $service->dispatchOrFail($run, function (): void { // no-op (dispatch succeeded) }); expect($user->notifications()->count())->toBe(0); })->group('ops-ux');