Skip to content

Commit

Permalink
fix headers
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Sickert <[email protected]>
  • Loading branch information
Lapotor committed Dec 13, 2023
1 parent 353f899 commit 74b581a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Feature/Http/Middleware/JsonOnlyMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public function test_non_json_requests_are_rejected(): void
'POST',
'/api/v1/login',
server: $this->transformHeadersToServerVars([
'Accept' => ['text/xml', 'application/xml', 'text/plain'],
'Content-Type' => ['text/xml', 'application/xml', 'text/plain'],
'Accept' => 'text/xml, application/xml, text/plain',
'Content-Type' => 'text/xml, application/xml, text/plain',
]),
content: '<?xml version="1.0" encoding="UTF-8"?>
<root>
Expand Down

0 comments on commit 74b581a

Please sign in to comment.