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
@@ -2,11 +2,12 @@
namespace Tests\Feature\Api\V1\FullSurface;
use PHPUnit\Framework\Attributes\Test;
use Tests\Feature\Api\V1\FullSurface\Support\FullSurfaceE2EContractCase;
class ApiNestedPayloadAndArrayAbuseContractTest extends FullSurfaceE2EContractCase
{
/** @test */
#[Test]
public function mutation_routes_fail_cleanly_for_deeply_nested_payloads(): void
{
$routes = array_slice(array_filter($this->apiRoutes(), fn ($route) => in_array($this->primaryMethod($route), ['POST', 'PUT', 'PATCH'], true)), 0, 90);
@@ -24,7 +25,7 @@ class ApiNestedPayloadAndArrayAbuseContractTest extends FullSurfaceE2EContractCa
}
}
/** @test */
#[Test]
public function mutation_routes_fail_cleanly_for_large_sparse_arrays(): void
{
$routes = array_slice(array_filter($this->apiRoutes(), fn ($route) => in_array($this->primaryMethod($route), ['POST', 'PUT', 'PATCH'], true)), 0, 90);