Update PHPUnit test metadata attributes
API CI/CD / Validate (composer + pint) (push) Successful in 2m46s
API CI/CD / Test (PHPUnit) (push) Failing after 3m3s
API CI/CD / Build frontend assets (push) Failing after 5m22s
API CI/CD / Security audit (push) Failing after 34s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

This commit is contained in:
root
2026-06-25 20:04:18 -04:00
parent e1e38dd8ce
commit 8661615717
15 changed files with 42 additions and 27 deletions
@@ -3,11 +3,12 @@
namespace Tests\Feature\Api\V1\FullSurface;
use Illuminate\Support\Facades\Route;
use PHPUnit\Framework\Attributes\Test;
use Tests\Feature\Api\V1\FullSurface\Support\FullSurfaceE2EContractCase;
class ApiOpenApiDocumentationDriftContractTest extends FullSurfaceE2EContractCase
{
/** @test */
#[Test]
public function api_surface_has_documentation_entry_points_and_route_inventory_remains_machine_readable(): void
{
$documentationRoutes = $this->apiRoutesContainingAny(['docs', 'documentation', 'openapi', 'swagger']);
@@ -28,7 +29,7 @@ class ApiOpenApiDocumentationDriftContractTest extends FullSurfaceE2EContractCas
}
}
/** @test */
#[Test]
public function named_api_routes_use_stable_names_when_names_exist(): void
{
foreach ($this->apiRoutes() as $route) {
@@ -44,7 +45,7 @@ class ApiOpenApiDocumentationDriftContractTest extends FullSurfaceE2EContractCas
}
}
/** @test */
#[Test]
public function documented_routes_do_not_point_to_missing_actions(): void
{
foreach (Route::getRoutes()->getRoutes() as $route) {