From f659b02b09bea66e4979a1a9eb3e7f236fee6303 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Wed, 4 Feb 2015 11:54:36 +0100 Subject: [PATCH] update expectations how history requests look like --- tests/client011.phpt | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/tests/client011.phpt b/tests/client011.phpt index 17c60ed..284edb2 100644 --- a/tests/client011.phpt +++ b/tests/client011.phpt @@ -31,13 +31,8 @@ echo $client->getHistory()->toString(true); Done --EXPECTF-- Test -POST /ext-http/.print_request.php HTTP/1.1 -User-Agent: %s -Host: dev.iworks.at -Accept: */* +POST http://dev.iworks.at/ext-http/.print_request.php HTTP/1.1 Content-Length: 6 -Content-Type: application/x-www-form-urlencoded -X-Original-Content-Length: 6 foobar HTTP/1.1 200 OK @@ -50,13 +45,8 @@ Content-Length: 19 string(6) "foobar" -POST /ext-http/.print_request.php HTTP/1.1 -User-Agent: %s -Host: dev.iworks.at -Accept: */* +POST http://dev.iworks.at/ext-http/.print_request.php HTTP/1.1 Content-Length: 6 -Content-Type: application/x-www-form-urlencoded -X-Original-Content-Length: 6 foobar HTTP/1.1 200 OK @@ -69,13 +59,8 @@ Content-Length: 19 string(6) "foobar" -POST /ext-http/.print_request.php HTTP/1.1 -User-Agent: %s -Host: dev.iworks.at -Accept: */* +POST http://dev.iworks.at/ext-http/.print_request.php HTTP/1.1 Content-Length: 6 -Content-Type: application/x-www-form-urlencoded -X-Original-Content-Length: 6 foobar HTTP/1.1 200 OK -- 2.30.2