From 94dc8024d910253ff64f8e4c6d1d990461186bbb Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Mon, 5 Oct 2009 22:51:21 +0000 Subject: [PATCH] Fix diff when full connection string used. Clean up helper files --- ext/oci8/tests/drop_table.inc | 15 +++++---------- ext/oci8/tests/drop_type.inc | 13 ++++--------- ext/oci8/tests/extauth_01.phpt | 8 ++++---- ext/oci8/tests/extauth_02.phpt | 8 ++++---- ext/oci8/tests/extauth_03.phpt | 8 ++++---- 5 files changed, 21 insertions(+), 31 deletions(-) diff --git a/ext/oci8/tests/drop_table.inc b/ext/oci8/tests/drop_table.inc index ffd99f5af3..592a95a3db 100644 --- a/ext/oci8/tests/drop_table.inc +++ b/ext/oci8/tests/drop_table.inc @@ -1,12 +1,7 @@ diff --git a/ext/oci8/tests/drop_type.inc b/ext/oci8/tests/drop_type.inc index 047968ef28..99e813c9fc 100644 --- a/ext/oci8/tests/drop_type.inc +++ b/ext/oci8/tests/drop_type.inc @@ -1,12 +1,7 @@ diff --git a/ext/oci8/tests/extauth_01.phpt b/ext/oci8/tests/extauth_01.phpt index e054a22162..30250ec243 100644 --- a/ext/oci8/tests/extauth_01.phpt +++ b/ext/oci8/tests/extauth_01.phpt @@ -139,12 +139,12 @@ bool(false) bool(false) Test 7 -Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d +Warning: oci_connect(): ORA-12154: %s in %s on line %d array(4) { [%u|b%"code"]=> int(12154) [%u|b%"message"]=> - %unicode|string%(65) "ORA-12154: %s" + %unicode|string%(%d) "ORA-12154: %s" [%u|b%"offset"]=> int(0) [%u|b%"sqltext"]=> @@ -153,12 +153,12 @@ array(4) { bool(false) Test 8 -Warning: oci_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d +Warning: oci_connect(): ORA-12154: %s in %s on line %d array(4) { [%u|b%"code"]=> int(12154) [%u|b%"message"]=> - %unicode|string%(65) "ORA-12154: %s" + %unicode|string%(%d) "ORA-12154: %s" [%u|b%"offset"]=> int(0) [%u|b%"sqltext"]=> diff --git a/ext/oci8/tests/extauth_02.phpt b/ext/oci8/tests/extauth_02.phpt index b275229611..d648eef08b 100644 --- a/ext/oci8/tests/extauth_02.phpt +++ b/ext/oci8/tests/extauth_02.phpt @@ -139,12 +139,12 @@ bool(false) bool(false) Test 7 -Warning: oci_new_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d +Warning: oci_new_connect(): ORA-12154: %s in %s on line %d array(4) { [%u|b%"code"]=> int(12154) [%u|b%"message"]=> - %unicode|string%(65) "ORA-12154: %s" + %unicode|string%(%d) "ORA-12154: %s" [%u|b%"offset"]=> int(0) [%u|b%"sqltext"]=> @@ -153,12 +153,12 @@ array(4) { bool(false) Test 8 -Warning: oci_new_connect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d +Warning: oci_new_connect(): ORA-12154: %s in %s on line %d array(4) { [%u|b%"code"]=> int(12154) [%u|b%"message"]=> - %unicode|string%(65) "ORA-12154: %s" + %unicode|string%(%d) "ORA-12154: %s" [%u|b%"offset"]=> int(0) [%u|b%"sqltext"]=> diff --git a/ext/oci8/tests/extauth_03.phpt b/ext/oci8/tests/extauth_03.phpt index 50be0e7243..021492f765 100644 --- a/ext/oci8/tests/extauth_03.phpt +++ b/ext/oci8/tests/extauth_03.phpt @@ -139,12 +139,12 @@ bool(false) bool(false) Test 7 -Warning: oci_pconnect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d +Warning: oci_pconnect(): ORA-12154: %s in %s on line %d array(4) { [%u|b%"code"]=> int(12154) [%u|b%"message"]=> - %unicode|string%(65) "ORA-12154: %s" + %unicode|string%(%d) "ORA-12154: %s" [%u|b%"offset"]=> int(0) [%u|b%"sqltext"]=> @@ -153,12 +153,12 @@ array(4) { bool(false) Test 8 -Warning: oci_pconnect(): ORA-12154: TNS:could not resolve the connect identifier specified in %s on line %d +Warning: oci_pconnect(): ORA-12154: %s in %s on line %d array(4) { [%u|b%"code"]=> int(12154) [%u|b%"message"]=> - %unicode|string%(65) "ORA-12154: %s" + %unicode|string%(%d) "ORA-12154: %s" [%u|b%"offset"]=> int(0) [%u|b%"sqltext"]=> -- 2.40.0