From be7c087da5365d481c9a55a6d26d6a49506ab823 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 10 Jul 2007 07:29:06 +0000 Subject: [PATCH] Fixed test --- ext/date/tests/date_create-3.phpt | 2 +- ext/dom/tests/dom005.phpt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/date/tests/date_create-3.phpt b/ext/date/tests/date_create-3.phpt index 07bfa7e6e6..b0ee669dea 100644 --- a/ext/date/tests/date_create-3.phpt +++ b/ext/date/tests/date_create-3.phpt @@ -10,4 +10,4 @@ echo date(DateTime::ISO8601, strtotime("Dec31 2005 +0100")), "\n"; ?> --EXPECT-- 2005-12-31T00:00:00+0100 -2005-12-31T00:00:00+0100 +2005-12-30T23:00:00+0000 diff --git a/ext/dom/tests/dom005.phpt b/ext/dom/tests/dom005.phpt index 249869eff2..36bb45a90b 100644 --- a/ext/dom/tests/dom005.phpt +++ b/ext/dom/tests/dom005.phpt @@ -11,6 +11,7 @@ print "--- save as XML\n"; print adjustDoctype($dom->saveXML()); print "--- save as HTML\n"; +$dom->formatOutput = true; print adjustDoctype($dom->saveHTML()); function adjustDoctype($xml) { -- 2.50.1