From: Michael Wallner Date: Sat, 8 Oct 2005 20:42:16 +0000 (+0000) Subject: - tests fixup X-Git-Tag: RELEASE_0_15_0~27 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=991da83d2e2f0ea005124a371a1eee49be826b18;ds=sidebyside - tests fixup --- diff --git a/tests/build_uri_001.phpt b/tests/build_uri_001.phpt new file mode 100644 index 0000000..b80f52e --- /dev/null +++ b/tests/build_uri_001.phpt @@ -0,0 +1,24 @@ +--TEST-- +http_build_uri() +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +%sTEST +-http://www.example.com/path/?query#anchor- +-https://www.example.com/path/?query#anchor- +-https://ssl.example.com/path/?query#anchor- +-ftp://ftp.example.com/path/?query#anchor- +Done diff --git a/tests/negotiation_001.phpt b/tests/negotiation_001.phpt index cb11d43..e1af2ca 100644 --- a/tests/negotiation_001.phpt +++ b/tests/negotiation_001.phpt @@ -31,8 +31,8 @@ string(10) "iso-8859-1" string(10) "iso-8859-1" Array ( - [de] => 500 - [en] => 0.15 + [de] => 900 + [en] => 0.27 ) Array ( diff --git a/tests/redirect_002.phpt b/tests/redirect_002.phpt index d43e9ad..e577810 100644 --- a/tests/redirect_002.phpt +++ b/tests/redirect_002.phpt @@ -4,6 +4,7 @@ http_redirect() with session --ENV-- HTTP_HOST=localhost