summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2019-01-27 14:55:06 -0200
committerGabriel Caruso <carusogabriel34@gmail.com>2019-01-31 00:21:32 -0200
commit4e0dd6b0edb2aaaa62efcfbd94a7fb0276d9b013 (patch)
tree167615de67fd98e870ea76615960bceb33b5d1ee /tests
parentcc60e8b00033cf9ae0b6dec44d7ed8505bf0eb13 (diff)
downloadphp-git-4e0dd6b0edb2aaaa62efcfbd94a7fb0276d9b013.tar.gz
Remove unnecessary CLI checks in tests
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/012.phpt2
-rw-r--r--tests/basic/bug71273.phpt6
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/basic/012.phpt b/tests/basic/012.phpt
index 038d4beff9..50af0b49f6 100644
--- a/tests/basic/012.phpt
+++ b/tests/basic/012.phpt
@@ -1,7 +1,5 @@
--TEST--
Testing $argc and $argv handling (cli)
---SKIPIF--
-<?php if(php_sapi_name()!='cli') echo 'skip'; ?>
--INI--
register_argc_argv=1
variables_order=GPS
diff --git a/tests/basic/bug71273.phpt b/tests/basic/bug71273.phpt
index 3db4454605..3e32b7a4b7 100644
--- a/tests/basic/bug71273.phpt
+++ b/tests/basic/bug71273.phpt
@@ -1,11 +1,5 @@
--TEST--
Bug #71273 A wrong ext directory setup in php.ini leads to crash
---SKIPIF--
-<?php
- if ("cli" != php_sapi_name()) {
- die("skip CLI only");
- }
-?>
--FILE--
<?php
/* NOTE this file is required to be encoded in iso-8859-1 */