Skip to content

Commit 9c2b696

Browse files
committed
DEBUG verify original issue is reproducible
1 parent 9e74767 commit 9c2b696

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

ext/oci8/tests/extauth_01.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Test External Authentication errors with oci_connect
33
--SKIPIF--
44
<?php
55
if (!extension_loaded('oci8')) die ("skip no oci8 extension");
6+
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
67
if (substr(PHP_OS, 0, 3) == 'WIN') die("skip feature not available on Windows platforms");
78
?>
89
--INI--
@@ -66,7 +67,7 @@ var_dump($c);
6667

6768
echo "Test 7\n";
6869

69-
$c = oci_connect('/', '', 'anything.invalid', null, OCI_CRED_EXT);
70+
$c = oci_connect('/', '', 'anything', null, OCI_CRED_EXT);
7071
if (!$c) {
7172
$m = oci_error();
7273
var_dump($m);
@@ -75,7 +76,7 @@ var_dump($c);
7576

7677
echo "Test 8\n";
7778

78-
$c = oci_connect('/', null, 'anything.invalid', null, OCI_CRED_EXT);
79+
$c = oci_connect('/', null, 'anything', null, OCI_CRED_EXT);
7980
if (!$c) {
8081
$m = oci_error();
8182
var_dump($m);

ext/oci8/tests/extauth_02.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Test External Authentication errors with oci_new_connect
33
--SKIPIF--
44
<?php
55
if (!extension_loaded('oci8')) die ("skip no oci8 extension");
6+
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
67
if (substr(PHP_OS, 0, 3) == 'WIN') die("skip feature not available on Windows platforms");
78
?>
89
--INI--
@@ -66,7 +67,7 @@ var_dump($c);
6667

6768
echo "Test 7\n";
6869

69-
$c = oci_new_connect('/', '', 'anything.invalid', null, OCI_CRED_EXT);
70+
$c = oci_new_connect('/', '', 'anything', null, OCI_CRED_EXT);
7071
if (!$c) {
7172
$m = oci_error();
7273
var_dump($m);
@@ -75,7 +76,7 @@ var_dump($c);
7576

7677
echo "Test 8\n";
7778

78-
$c = oci_new_connect('/', null, 'anything.invalid', null, OCI_CRED_EXT);
79+
$c = oci_new_connect('/', null, 'anything', null, OCI_CRED_EXT);
7980
if (!$c) {
8081
$m = oci_error();
8182
var_dump($m);

ext/oci8/tests/extauth_03.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Test External Authentication errors with oci_pconnect
33
--SKIPIF--
44
<?php
55
if (!extension_loaded('oci8')) die ("skip no oci8 extension");
6+
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
67
if (substr(PHP_OS, 0, 3) == 'WIN') die("skip feature not available on Windows platforms");
78
?>
89
--INI--
@@ -66,7 +67,7 @@ var_dump($c);
6667

6768
echo "Test 7\n";
6869

69-
$c = oci_pconnect('/', '', 'anything.invalid', null, OCI_CRED_EXT);
70+
$c = oci_pconnect('/', '', 'anything', null, OCI_CRED_EXT);
7071
if (!$c) {
7172
$m = oci_error();
7273
var_dump($m);
@@ -75,7 +76,7 @@ var_dump($c);
7576

7677
echo "Test 8\n";
7778

78-
$c = oci_pconnect('/', null, 'anything.invalid', null, OCI_CRED_EXT);
79+
$c = oci_pconnect('/', null, 'anything', null, OCI_CRED_EXT);
7980
if (!$c) {
8081
$m = oci_error();
8182
var_dump($m);

0 commit comments

Comments
 (0)