- ensure we have string zvals in http_request_body_fill()
[m6w6/ext-http] / tests / ut_HttpUtil.phpt
index 19df49aba20da97ba1b875aa06997d588fadc22e..bbd61e08831ea20a632c70d43e82d7c28c08739c 100644 (file)
@@ -11,6 +11,7 @@ skipif(!@include 'PHPUnit2/Framework/TestCase.php', 'need PHPUnit2');
 echo "-TEST\n";
 
 error_reporting(E_ALL);
+ini_set('html_errors', 0);
 
 require_once 'PHPUnit2/Framework/TestSuite.php';
 require_once 'PHPUnit2/Framework/TestCase.php';
@@ -101,7 +102,6 @@ class HttpUtilTest extends PHPUnit2_Framework_TestCase
        if ($support = http_support(HTTP_SUPPORT_ENCODINGS)) {
                $this->assertEquals(file_get_contents(__FILE__), http_gzdecode(http_gzencode(file_get_contents(__FILE__))));
                $this->assertEquals(file_get_contents(__FILE__), http_inflate(http_deflate(file_get_contents(__FILE__))));
-               $this->assertEquals(file_get_contents(__FILE__), http_uncompress(http_compress(file_get_contents(__FILE__))));
                } else {
                        $this->assertFalse($support);
                }