fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -26,14 +26,14 @@ class ApiUseCaseCoverageMatrixTest extends TestCase
$uri = $route->uri();
if ($this->domainFor($uri) === null) {
$unmapped[] = implode('|', array_diff($route->methods(), ['HEAD'])).' '.$uri;
$unmapped[] = implode('|', array_diff($route->methods(), ['HEAD'])) . ' ' . $uri;
}
}
$this->assertSame(
[],
$unmapped,
"API routes without an explicit use-case domain:\n".implode("\n", $unmapped).
"API routes without an explicit use-case domain:\n" . implode("\n", $unmapped) .
"\n\nAdd the route to the matrix and then add/extend an E2E workflow test for that domain."
);
}
@@ -53,7 +53,7 @@ class ApiUseCaseCoverageMatrixTest extends TestCase
$this->assertSame(
[],
$missing,
"Required use-case domains with no matching API route coverage:\n".implode("\n", $missing)
"Required use-case domains with no matching API route coverage:\n" . implode("\n", $missing)
);
}
@@ -63,7 +63,7 @@ class ApiUseCaseCoverageMatrixTest extends TestCase
foreach ($this->protectedRoutes() as $route) {
$method = $this->primaryMethod($route);
$uri = '/'.$this->uriWithSafePlaceholders($route->uri());
$uri = '/' . $this->uriWithSafePlaceholders($route->uri());
$response = $this->json($method, $uri);
$status = $response->getStatusCode();
@@ -76,7 +76,7 @@ class ApiUseCaseCoverageMatrixTest extends TestCase
$this->assertSame(
[],
$failures,
"Anonymous requests reached protected API routes unexpectedly:\n".implode("\n", $failures)
"Anonymous requests reached protected API routes unexpectedly:\n" . implode("\n", $failures)
);
}