add tests batch 20
This commit is contained in:
@@ -28,7 +28,7 @@ class ApiContractCoverageHeatmapExpansionTest extends FullSurfaceE2EContractCase
|
||||
foreach ($families as $family => $needles) {
|
||||
$matches = array_filter($routes, fn (LaravelRoute $route): bool => $this->uriContainsAny($route->uri(), $needles));
|
||||
|
||||
$this->assertNotEmpty($matches, $family.' must have route-level E2E contract coverage candidates.');
|
||||
$this->assertNotEmpty($matches, $family . ' must have route-level E2E contract coverage candidates.');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -53,11 +53,11 @@ class ApiContractCoverageHeatmapExpansionTest extends FullSurfaceE2EContractCase
|
||||
}
|
||||
|
||||
if (! $this->uriContainsAny($uri, $ownedNeedles)) {
|
||||
$unowned[] = $method.' '.$uri;
|
||||
$unowned[] = $method . ' ' . $uri;
|
||||
}
|
||||
}
|
||||
|
||||
$this->assertSame([], $unowned, 'Mutating API routes must be assigned to a full-surface use-case contract bucket: '.implode(', ', $unowned));
|
||||
$this->assertSame([], $unowned, 'Mutating API routes must be assigned to a full-surface use-case contract bucket: ' . implode(', ', $unowned));
|
||||
}
|
||||
|
||||
/** @param list<string> $needles */
|
||||
|
||||
Reference in New Issue
Block a user