diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-03-15 23:36:47 +0100 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-03-15 23:36:47 +0100 |
commit | 6426420f61de0df32a6085924d25b347c8788363 (patch) | |
tree | ef32814ffbea0ad3c3c38a942f9751302606c736 /ext/oci8/tests/commit_001.phpt | |
parent | f26c8644bb340e9e7abb6d1cedb091e9d87dd1d4 (diff) | |
parent | 26dfce7f36d1c6f737ac241df1315a1b42b932c7 (diff) | |
download | php-git-6426420f61de0df32a6085924d25b347c8788363.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Replace dirname(__FILE__) by __DIR__ in tests
Diffstat (limited to 'ext/oci8/tests/commit_001.phpt')
-rw-r--r-- | ext/oci8/tests/commit_001.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/oci8/tests/commit_001.phpt b/ext/oci8/tests/commit_001.phpt index 2696217a0f..de4682eefc 100644 --- a/ext/oci8/tests/commit_001.phpt +++ b/ext/oci8/tests/commit_001.phpt @@ -3,13 +3,13 @@ Test OCI_NO_AUTO_COMMIT constant --SKIPIF-- <?php $target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs -require(dirname(__FILE__).'/skipif.inc'); +require(__DIR__.'/skipif.inc'); ?> --FILE-- <?php -require(dirname(__FILE__)."/connect.inc"); -require(dirname(__FILE__).'/create_table.inc'); +require(__DIR__."/connect.inc"); +require(__DIR__.'/create_table.inc'); $insert_sql = "insert into ".$schema.$table_name." (id, value) values (1,1)"; @@ -73,7 +73,7 @@ var_dump(oci_fetch_all($select, $all)); var_dump($all); -require(dirname(__FILE__).'/drop_table.inc'); +require(__DIR__.'/drop_table.inc'); echo "Done\n"; ?> |