From: Antony Dovgal Date: Sat, 23 Dec 2006 14:10:52 +0000 (+0000) Subject: fix tests X-Git-Tag: RELEASE_1_0_0RC1~538 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a3000977cdccd7d9e2f2c5dbe20f199c5cc1798;p=php fix tests --- diff --git a/ext/oci8/tests/error.phpt b/ext/oci8/tests/error.phpt index 974a5f22e4..a2bd65167c 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 1048fc65d0..c97ea4e046 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 7c27a8b135..e1e613cbb7 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