From: Felipe Pena Date: Mon, 14 Jul 2008 11:47:44 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: php-5.3.0alpha1~354 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a388f61a1369e017ab052c69ae341dd0977fd55;p=php - Fixed tests --- 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) }