release aufiting

This commit is contained in:
Mark Gregory
2026-07-24 14:04:37 +01:00
parent bc9427ac33
commit c91ac80ab6
7 changed files with 328 additions and 0 deletions
@@ -0,0 +1,12 @@
<?php
use Illuminate\Support\Facades\Route;
it('does not register duplicate named routes', function (): void {
$names = collect(Route::getRoutes())
->map(fn ($route): ?string => $route->getName())
->filter()
->values();
expect($names->duplicates()->values()->all())->toBe([]);
});