Skip to content

Commit 9a350d0

Browse files
committed
Fix tests
1 parent b363726 commit 9a350d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Formatter/BothFormatterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ public function testFormatter()
2828

2929
$result = $this->formatter->format($request, $response);
3030

31-
$this->assertSame("Request: GET /php-middleware/log-http-messages HTTP/1.1\r\nAccept: text/html; Response HTTP/1.1 500 Internal Server Error\r\nContent-Type: text/html", $result);
31+
$this->assertSame("Request: GET /php-middleware/log-http-messages HTTP/1.1\r\nAccept: text/html\r\nHost: github.com; Response HTTP/1.1 500 Internal Server Error\r\nContent-Type: text/html\r\n\r\n", $result);
3232
}
3333
}

0 commit comments

Comments
 (0)