From 38fcb3745e511aba66ca87725f144f1d05ebe900 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Sat, 10 Dec 2005 17:11:52 +0000 Subject: [PATCH] - tests fixup --- tests/HttpRequestPool_001.phpt | 5 +++-- tests/HttpRequestPool_003.phpt | 1 + tests/etag_mode_001.phpt | 2 +- tests/etag_mode_011.phpt | 2 +- tests/etag_mode_031.phpt | 2 +- tests/etag_mode_041.phpt | 2 +- tests/ut_HttpMessage.phpt | 1 + tests/ut_HttpRequest.phpt | 4 ++++ tests/ut_HttpRequestPool.phpt | 4 ++++ tests/ut_HttpResponse.phpt | 4 ++++ tests/ut_HttpUtil.phpt | 1 + 11 files changed, 22 insertions(+), 6 deletions(-) diff --git a/tests/HttpRequestPool_001.phpt b/tests/HttpRequestPool_001.phpt index 6173fb6..b65bf75 100644 --- a/tests/HttpRequestPool_001.phpt +++ b/tests/HttpRequestPool_001.phpt @@ -14,16 +14,17 @@ checkurl('dev.iworks.at'); --FILE-- addPostFields(array('a'=>1,'b'=>2)) ; $pool = new HttpRequestPool( new HttpRequest('http://www.php.net/', HTTP_METH_HEAD), new HttpRequest('http://at.php.net/', HTTP_METH_HEAD), new HttpRequest('http://de.php.net/', HTTP_METH_HEAD), new HttpRequest('http://ch.php.net/', HTTP_METH_HEAD), - $post = new HttpRequest('http://dev.iworks.at/.print_request.php', HTTP_METH_POST) + $post ); -$post->addPostFields(array('a'=>1,'b'=>2)) ; $pool->send(); foreach ($pool as $req) { diff --git a/tests/HttpRequestPool_003.phpt b/tests/HttpRequestPool_003.phpt index ccec043..91871c6 100644 --- a/tests/HttpRequestPool_003.phpt +++ b/tests/HttpRequestPool_003.phpt @@ -13,6 +13,7 @@ echo "-TEST\n"; set_time_limit(0); ini_set('error_reporting', E_ALL); +ini_set('html_errors', 0); class Pool extends HttpRequestPool { diff --git a/tests/etag_mode_001.phpt b/tests/etag_mode_001.phpt index 787100b..5acd930 100644 --- a/tests/etag_mode_001.phpt +++ b/tests/etag_mode_001.phpt @@ -1,5 +1,5 @@ --TEST-- -crc32 etag +crc32 etag (may fail because PHPs crc32 is actually crc32b) --SKIPIF--