]> granicus.if.org Git - php/commitdiff
Remove duplicated informations in tests
authorGabriel Caruso <carusogabriel34@gmail.com>
Sun, 18 Feb 2018 18:06:48 +0000 (15:06 -0300)
committerJoe Watkins <krakjoe@php.net>
Mon, 19 Feb 2018 07:29:54 +0000 (08:29 +0100)
ext/dba/tests/dba_tcadb.phpt
ext/oci8/tests/coll_019.phpt

index f75aa813d4838ad2d4386c99425cb908c02e2e0e..bc21ee189afeb1c5d921f860c1a74f89d1c7a8f9 100644 (file)
@@ -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');
index e0c896dce199d4d892de661d8bdf8b3856e12059..cfadfe56355280fb106177fa6a38734fa633c9bc 100644 (file)
@@ -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