fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -20,8 +20,8 @@ class ApiRouteParameterAbuseContractTest extends FullSurfaceE2EContractCase
$response = $this->requestAs($this->actorFor($template), $method, $uri, $this->payloadFor($method, $template));
$this->assertControlled($response, $method, $uri);
$this->assertNoServerError($response, 'bad route parameter ' . $method . ' ' . $uri);
$this->assertStringNotContainsString('.env', $response->getContent(), $uri . ' must not leak filesystem targets.');
$this->assertNoServerError($response, 'bad route parameter '.$method.' '.$uri);
$this->assertStringNotContainsString('.env', $response->getContent(), $uri.' must not leak filesystem targets.');
}
}
}
@@ -37,7 +37,7 @@ class ApiRouteParameterAbuseContractTest extends FullSurfaceE2EContractCase
$response = $this->requestAs($this->actorFor($template), $method, $uri, $this->payloadFor($method, $template));
$this->assertControlled($response, $method, $uri);
$this->assertNoServerError($response, 'overflowing route id ' . $method . ' ' . $uri);
$this->assertNoServerError($response, 'overflowing route id '.$method.' '.$uri);
}
}
}