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
@@ -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);
}
}
}