diff options
author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-02-18 15:06:48 -0300 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2018-02-19 08:29:54 +0100 |
commit | bffc92b1055a0bc36b9e09e8392354f12912fe71 (patch) | |
tree | 5a2f2a1ed8889086664b383e323f583f9d0150b9 | |
parent | 5153413ed467b10276e4ebeba741fa1aad086d07 (diff) | |
download | php-git-bffc92b1055a0bc36b9e09e8392354f12912fe71.tar.gz |
Remove duplicated informations in tests
-rw-r--r-- | ext/dba/tests/dba_tcadb.phpt | 6 | ||||
-rw-r--r-- | ext/oci8/tests/coll_019.phpt | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/ext/dba/tests/dba_tcadb.phpt b/ext/dba/tests/dba_tcadb.phpt index f75aa813d4..bc21ee189a 100644 --- a/ext/dba/tests/dba_tcadb.phpt +++ b/ext/dba/tests/dba_tcadb.phpt @@ -1,14 +1,12 @@ --TEST-- DBA TCADB handler test --SKIPIF-- -<?php +<?php $handler = 'tcadb'; require_once dirname(__FILE__) .'/skipif.inc'; ?> --FILE-- <?php - $handler = 'tcadb'; - require_once dirname(__FILE__) .'/skipif.inc'; $lock_flag = 'l'; $db_filename = $db_file = dirname(__FILE__) .'/test0.tch'; @unlink($db_filename); @@ -17,7 +15,7 @@ DBA TCADB handler test ?> ===DONE=== --CLEAN-- -<?php +<?php $db_filename = $db_file = dirname(__FILE__) .'/test0.tch'; @unlink($db_filename); @unlink($db_filename.'.lck'); diff --git a/ext/oci8/tests/coll_019.phpt b/ext/oci8/tests/coll_019.phpt index e0c896dce1..cfadfe5635 100644 --- a/ext/oci8/tests/coll_019.phpt +++ b/ext/oci8/tests/coll_019.phpt @@ -4,10 +4,7 @@ Test collection Oracle error handling collections and numbers (2) <?php $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs require(dirname(__FILE__).'/skipif.inc'); -?> -$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs -require(dirname(__FILE__).'/skipif.inc'); -?> +?> --FILE-- <?php |