<?php

declare(strict_types=1);

use App\Models\User;
use Illuminate\Foundation\Testing\RefreshDatabase;

uses(RefreshDatabase::class);

it('returns 404 when a tenant session accesses system runbooks', function () {
    $user = User::factory()->create();

    $this->actingAs($user)
        ->get('/system/ops/runbooks')
        ->assertNotFound();
});
