<?php

declare(strict_types=1);

it('returns 404 for the legacy tenant-plane required permissions route', function (): void {
    [$user, $tenant] = createUserWithTenant(role: 'readonly');

    $this->actingAs($user)
        ->get("/admin/t/{$tenant->external_id}/required-permissions")
        ->assertNotFound();
});
