From e2a46679bde9f7295c31eae6d3f64ac58cc6f1da Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 27 Jan 2007 17:27:09 +0000 Subject: [PATCH] - context not needed here --- ext/phar/tests/phar_oo_compressed_001.phpt | 4 +--- ext/phar/tests/phar_oo_compressed_001b.phpt | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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'; -- 2.50.1