Fix Laravel Pint formatting
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user