From: Marcus Boerger Date: Sat, 27 Jan 2007 17:27:09 +0000 (+0000) Subject: - context not needed here X-Git-Tag: RELEASE_1_0_0RC1~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2a46679bde9f7295c31eae6d3f64ac58cc6f1da;p=php - context not needed here --- diff --git a/ext/phar/tests/phar_oo_compressed_001.phpt b/ext/phar/tests/phar_oo_compressed_001.phpt index d58df16890..803ce8d7b4 100644 --- a/ext/phar/tests/phar_oo_compressed_001.phpt +++ b/ext/phar/tests/phar_oo_compressed_001.phpt @@ -1,5 +1,5 @@ --TEST-- -Phar context +Phar::setCompressedGZ() --SKIPIF-- @@ -28,8 +28,6 @@ var_dump($phar['b']->isCompressed()); var_dump(file_get_contents($pname . '/c')); var_dump($phar['c']->isCompressed()); -$context = stream_context_create(array('phar'=>array('compress'=>Phar::GZ))); - $phar['a'] = 'new a'; $phar['a']->setUncompressed(); $phar['b'] = 'new b'; diff --git a/ext/phar/tests/phar_oo_compressed_001b.phpt b/ext/phar/tests/phar_oo_compressed_001b.phpt index ca99b695d3..e33abb2fa6 100755 --- a/ext/phar/tests/phar_oo_compressed_001b.phpt +++ b/ext/phar/tests/phar_oo_compressed_001b.phpt @@ -1,5 +1,5 @@ --TEST-- -Phar context +Phar::setCompressedBZip2() --SKIPIF-- @@ -28,8 +28,6 @@ var_dump($phar['b']->isCompressed()); var_dump(file_get_contents($pname . '/c')); var_dump($phar['c']->isCompressed()); -$context = stream_context_create(array('phar'=>array('compress'=>Phar::BZ2))); - $phar['a'] = 'new a'; $phar['a']->setUncompressed(); $phar['b'] = 'new b';