From 8a3000977cdccd7d9e2f2c5dbe20f199c5cc1798 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Sat, 23 Dec 2006 14:10:52 +0000 Subject: [PATCH] fix tests --- ext/oci8/tests/error.phpt | 8 ++++---- ext/oci8/tests/error1.phpt | 10 +++++----- ext/oci8/tests/error_old.phpt | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/ext/oci8/tests/error.phpt b/ext/oci8/tests/error.phpt index 974a5f22e43..a2bd65167c8 100644 --- a/ext/oci8/tests/error.phpt +++ b/ext/oci8/tests/error.phpt @@ -45,13 +45,13 @@ resource(%d) of type (oci8 statement) Warning: oci_execute(): ORA-00900: invalid SQL statement in %s on line %d bool(false) array(4) { - ["code"]=> + [u"code"]=> int(900) - ["message"]=> + [u"message"]=> unicode(32) "ORA-00900: invalid SQL statement" - ["offset"]=> + [u"offset"]=> int(0) - ["sqltext"]=> + [u"sqltext"]=> unicode(12) "WRONG SYNTAX" } Done diff --git a/ext/oci8/tests/error1.phpt b/ext/oci8/tests/error1.phpt index 1048fc65d0f..c97ea4e046b 100644 --- a/ext/oci8/tests/error1.phpt +++ b/ext/oci8/tests/error1.phpt @@ -29,13 +29,13 @@ Done Warning: oci_connect(): ORA-12154: TNS:could not resolve %s in %s on line %d bool(false) array(4) { - ["code"]=> + [u"code"]=> int(12154) - ["message"]=> - unicode(%d) "ORA-12154: TNS:could not resolve %s" - ["offset"]=> + [u"message"]=> + unicode(65) "ORA-12154: TNS:could not resolve %s" + [u"offset"]=> int(0) - ["sqltext"]=> + [u"sqltext"]=> unicode(0) "" } Done diff --git a/ext/oci8/tests/error_old.phpt b/ext/oci8/tests/error_old.phpt index 7c27a8b1353..e1e613cbb79 100644 --- a/ext/oci8/tests/error_old.phpt +++ b/ext/oci8/tests/error_old.phpt @@ -45,13 +45,13 @@ resource(%d) of type (oci8 statement) Warning: ociexecute(): ORA-00900: invalid SQL statement in %s on line %d bool(false) array(4) { - ["code"]=> + [u"code"]=> int(900) - ["message"]=> + [u"message"]=> unicode(32) "ORA-00900: invalid SQL statement" - ["offset"]=> + [u"offset"]=> int(0) - ["sqltext"]=> + [u"sqltext"]=> unicode(12) "WRONG SYNTAX" } Done