[PECL-CVS] [pecl-database-oci8] main: Minor test updates
[email protected] (Sharad Chandran R)
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Sharad Chandran R (sharadraju)
Date: 2025-12-24T11:02:13+05:30
Commit: https://github.com/php/pecl-database-oci8/commit/50d60b011a7bb191037c3609d53379dc7392ae2f
Raw diff: https://github.com/php/pecl-database-oci8/commit/50d60b011a7bb191037c3609d53379dc7392ae2f.diff
Minor test updates
Changed paths:
M tests/extauth_04.phpt
M tests/lob_029.phpt
Diff:
diff --git a/tests/extauth_04.phpt b/tests/extauth_04.phpt
index dfd97db..5f043c5 100644
--- a/tests/extauth_04.phpt
+++ b/tests/extauth_04.phpt
@@ -13,7 +13,7 @@ oci8.privileged_connect=1
echo "Test 1\n";
-$c = oci_connect('/', '', 'anything', null, OCI_CRED_EXT);
+$c = oci_connect('/', '', 'anything', '', OCI_CRED_EXT);
if (!$c) {
$m = oci_error();
var_dump($m);
@@ -22,7 +22,7 @@ var_dump($c);
echo "Test 2\n";
-$c = oci_new_connect('/', '', 'anything', null, OCI_CRED_EXT);
+$c = oci_new_connect('/', '', 'anything', '', OCI_CRED_EXT);
if (!$c) {
$m = oci_error();
var_dump($m);
@@ -31,7 +31,7 @@ var_dump($c);
echo "Test 3\n";
-$c = oci_pconnect('/', '', 'anything', null, OCI_CRED_EXT);
+$c = oci_pconnect('/', '', 'anything', '', OCI_CRED_EXT);
if (!$c) {
$m = oci_error();
var_dump($m);
diff --git a/tests/lob_029.phpt b/tests/lob_029.phpt
index 515fc93..80d5afa 100644
--- a/tests/lob_029.phpt
+++ b/tests/lob_029.phpt
@@ -12,7 +12,7 @@ phpinfo(INFO_MODULES);
$phpinfo = ob_get_clean();
if (preg_match('/Compile-time ORACLE_HOME/', $phpinfo) !== 1) {
// Assume building PHP with an ORACLE_HOME means the tested DB is on the same machine as PHP
- die("skip this test won't work with remote Oracle");
+ die("skip this test won't work with a remote Oracle Database");
}
if (substr(PHP_OS, 0, 3) == 'WIN') die("skip Test script not ported to Windows");
?>