From: Felipe Pena Date: Mon, 14 Jul 2008 12:33:25 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: BEFORE_HEAD_NS_CHANGE~1268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f9cc0a8c25d1bfc55f379f4bcc320b3c6f57d91;p=php - Fixed tests --- diff --git a/ext/dom/tests/dom003.phpt b/ext/dom/tests/dom003.phpt index 4ad7232623..6c7db74906 100644 --- a/ext/dom/tests/dom003.phpt +++ b/ext/dom/tests/dom003.phpt @@ -21,7 +21,7 @@ $rootNode->appendChild($rootNode); ?> --EXPECTF-- --- Catch exception with try/catch -object(DOMException)#%d (6) { +object(DOMException)#%d (%d) { [u"message":protected]=> unicode(23) "Hierarchy Request Error" [u"string":u"Exception":private]=> @@ -52,6 +52,8 @@ object(DOMException)#%d (6) { } } } + [u"previous":u"Exception":private]=> + NULL [u"code"]=> int(3) } diff --git a/ext/dom/tests/dom_set_attr_node.phpt b/ext/dom/tests/dom_set_attr_node.phpt index 3aad57145b..f0f9f34c7f 100644 --- a/ext/dom/tests/dom_set_attr_node.phpt +++ b/ext/dom/tests/dom_set_attr_node.phpt @@ -31,7 +31,7 @@ try { ?> --EXPECTF-- -object(DOMException)#%d (6) { +object(DOMException)#%d (%d) { [u"message":protected]=> unicode(20) "Wrong Document Error" [u"string":u"Exception":private]=> @@ -62,6 +62,8 @@ object(DOMException)#%d (6) { } } } + [u"previous":u"Exception":private]=> + NULL [u"code"]=> int(4) }