From 2f9cc0a8c25d1bfc55f379f4bcc320b3c6f57d91 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 14 Jul 2008 12:33:25 +0000 Subject: [PATCH] - Fixed tests --- ext/dom/tests/dom003.phpt | 4 +++- ext/dom/tests/dom_set_attr_node.phpt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) 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) } -- 2.50.1