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