summaryrefslogtreecommitdiff
path: root/ext/phar/tests/zip
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-07-16 00:01:46 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-07-16 00:01:46 -0300
commit49c193eeb35770b99e86b180d88699371607aac9 (patch)
tree0977432e372e5bb6ecb8048c5b3c5b492250a6f5 /ext/phar/tests/zip
parent59456974f2c8d27da66d326c337d657b5f6b5d00 (diff)
downloadphp-git-49c193eeb35770b99e86b180d88699371607aac9.tar.gz
Make more tests run and fix SKIPIF sections
Diffstat (limited to 'ext/phar/tests/zip')
-rw-r--r--ext/phar/tests/zip/frontcontroller11.phar.phpt11
1 files changed, 3 insertions, 8 deletions
diff --git a/ext/phar/tests/zip/frontcontroller11.phar.phpt b/ext/phar/tests/zip/frontcontroller11.phar.phpt
index c0c555a1a4..15534d02c5 100644
--- a/ext/phar/tests/zip/frontcontroller11.phar.phpt
+++ b/ext/phar/tests/zip/frontcontroller11.phar.phpt
@@ -3,9 +3,8 @@ Phar front controller mime type extension is not a string zip-based
--INI--
default_charset=
--SKIPIF--
-<?php if (!extension_loaded("phar")) die("skip"); ?>
+<?php if (!extension_loaded("phar")) die("skip phar extension not loaded"); ?>
<?php if (!extension_loaded("zlib")) die("skip zlib not available"); ?>
-<?php die("skip"); ?>
--ENV--
SCRIPT_NAME=/frontcontroller11.phar.php
REQUEST_URI=/frontcontroller11.phar.php/a.php
@@ -14,9 +13,5 @@ PATH_INFO=/a.php
files/frontcontroller5.phar.zip
--EXPECTHEADERS--
Content-type: text/html
---EXPECTF--
-Fatal error: Uncaught PharException: Key of MIME type overrides array must be a file extension, was "0" in %sfrontcontroller11.phar.php:2
-Stack trace:
-#0 %sfrontcontroller11.phar.php(2): Phar::webPhar('whatever', 'index.php', '', Array)
-#1 {main}
- thrown in %sfrontcontroller11.phar.php on line 2 \ No newline at end of file
+--EXPECT--
+hio