From 8a388f61a1369e017ab052c69ae341dd0977fd55 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 14 Jul 2008 11:47:44 +0000 Subject: [PATCH] - Fixed tests --- ext/dom/tests/dom003.phpt | 6 +++--- ext/dom/tests/dom_set_attr_node.phpt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/dom/tests/dom003.phpt b/ext/dom/tests/dom003.phpt index 58ab6cec02..1fae569085 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) { ["message":protected]=> string(23) "Hierarchy Request Error" ["string":"Exception":private]=> @@ -52,10 +52,10 @@ object(DOMException)#%d (6) { } } } - ["code"]=> - int(3) ["previous":"Exception":private]=> NULL + ["code"]=> + int(3) } --- Don't catch exception with try/catch diff --git a/ext/dom/tests/dom_set_attr_node.phpt b/ext/dom/tests/dom_set_attr_node.phpt index dba8a1689d..05f8086e71 100644 --- a/ext/dom/tests/dom_set_attr_node.phpt +++ b/ext/dom/tests/dom_set_attr_node.phpt @@ -62,8 +62,8 @@ object(DOMException)#%d (7) { } } } - ["code"]=> - int(4) ["previous":"Exception":private]=> NULL + ["code"]=> + int(4) } -- 2.50.1