diff options
Diffstat (limited to 'ext/oci8/tests/edition_2.phpt')
-rw-r--r-- | ext/oci8/tests/edition_2.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/tests/edition_2.phpt b/ext/oci8/tests/edition_2.phpt index 763f59577d..054e685943 100644 --- a/ext/oci8/tests/edition_2.phpt +++ b/ext/oci8/tests/edition_2.phpt @@ -3,7 +3,7 @@ Set and check Oracle 11gR2 "edition" attribute --SKIPIF-- <?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); -require(dirname(__FILE__)."/connect.inc"); +require(__DIR__."/connect.inc"); if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user"); if ($test_drcp) @@ -35,7 +35,7 @@ if (!(isset($matches[0]) && $testuser = 'testuser_ed_2'; // Used in conn_attr.inc $testpassword = 'testuser'; -require(dirname(__FILE__)."/conn_attr.inc"); +require(__DIR__."/conn_attr.inc"); echo"**Test 1.1 - Default value for the attribute **************\n"; get_edit_attr($c); |