Skip to content

Commit 50d60b0

Browse files
committed
Minor test updates
1 parent 60869f4 commit 50d60b0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/extauth_04.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ oci8.privileged_connect=1
1313

1414
echo "Test 1\n";
1515

16-
$c = oci_connect('/', '', 'anything', null, OCI_CRED_EXT);
16+
$c = oci_connect('/', '', 'anything', '', OCI_CRED_EXT);
1717
if (!$c) {
1818
$m = oci_error();
1919
var_dump($m);
@@ -22,7 +22,7 @@ var_dump($c);
2222

2323
echo "Test 2\n";
2424

25-
$c = oci_new_connect('/', '', 'anything', null, OCI_CRED_EXT);
25+
$c = oci_new_connect('/', '', 'anything', '', OCI_CRED_EXT);
2626
if (!$c) {
2727
$m = oci_error();
2828
var_dump($m);
@@ -31,7 +31,7 @@ var_dump($c);
3131

3232
echo "Test 3\n";
3333

34-
$c = oci_pconnect('/', '', 'anything', null, OCI_CRED_EXT);
34+
$c = oci_pconnect('/', '', 'anything', '', OCI_CRED_EXT);
3535
if (!$c) {
3636
$m = oci_error();
3737
var_dump($m);

tests/lob_029.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ phpinfo(INFO_MODULES);
1212
$phpinfo = ob_get_clean();
1313
if (preg_match('/Compile-time ORACLE_HOME/', $phpinfo) !== 1) {
1414
// Assume building PHP with an ORACLE_HOME means the tested DB is on the same machine as PHP
15-
die("skip this test won't work with remote Oracle");
15+
die("skip this test won't work with a remote Oracle Database");
1616
}
1717
if (substr(PHP_OS, 0, 3) == 'WIN') die("skip Test script not ported to Windows");
1818
?>

0 commit comments

Comments
 (0)