update project

This commit is contained in:
root
2026-05-30 01:11:35 -04:00
parent 3a0628ecc7
commit 2225f6bc72
9743 changed files with 1122482 additions and 59 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php declare(strict_types=1);
namespace Tests\Architecture;
use PHPUnit\Framework\TestCase;
final class RouteInventoryTest extends TestCase
{
public function test_generated_route_inventory_exists_and_has_governance_fields(): void
{
$path = dirname(__DIR__, 2).'/storage/app/generated/api-route-inventory.json';
$this->assertFileExists($path);
$rows = json_decode(file_get_contents($path) ?: '[]', true);
$this->assertIsArray($rows);
foreach ($rows as $row) {
$this->assertArrayHasKey('module', $row);
$this->assertArrayHasKey('canonical_status', $row);
$this->assertArrayHasKey('risk', $row);
}
}
}