From: Michael Wallner Date: Wed, 4 Feb 2015 10:54:36 +0000 (+0100) Subject: update expectations how history requests look like X-Git-Tag: RELEASE_2_3_0_RC1~65 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f659b02b09bea66e4979a1a9eb3e7f236fee6303;p=m6w6%2Fext-http update expectations how history requests look like --- 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