improve security
This commit is contained in:
parent
e883913d3a
commit
137e4bc0c1
3 changed files with 8 additions and 0 deletions
|
@ -54,4 +54,5 @@ test('it handles null content', function (): void {
|
|||
test('it has correct defaultstatuscode', function (): void {
|
||||
$response = new PlaintextResponse('Hello, World!');
|
||||
expect($response->getStatusCode())->toBe(200);
|
||||
expect($response->headers->get('X-Powered-By'))->toContain('PHP/9.9.9');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue