From 991da83d2e2f0ea005124a371a1eee49be826b18 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sat, 8 Oct 2005 20:42:16 +0000 Subject: [PATCH] - tests fixup --- tests/build_uri_001.phpt | 24 ++++++++++++++++++++++++ tests/negotiation_001.phpt | 4 ++-- tests/redirect_002.phpt | 1 + 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 tests/build_uri_001.phpt 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 -- 2.30.2