Skip to content

Commit 3bbdc98

Browse files
committed
DateTime/DateTimeZone XmlElementWrapperTest
1 parent a366b39 commit 3bbdc98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/XmlElementWrapperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class XmlElementWrapperTest extends TestCase
99
{
1010
public function test()
1111
{
12-
$dt = new \DateTime('2020-02-02');
12+
$dt = new \DateTime('2020-02-02 20:20:00');
1313
$dt->setTimezone(new \DateTimeZone('Europe/Berlin'));
1414

1515
$html = Html::create();
@@ -35,7 +35,7 @@ public function test()
3535

3636
$this->assertEquals(
3737
"<body class=\"pg-static\">\n"
38-
. "\t<p>Sun, 02 Feb 2020 00:00:00 +0100</p>\n"
38+
. "\t<p>Sun, 02 Feb 2020 20:20:00 +0100</p>\n"
3939
. "</body>",
4040
$body->getMarkup()
4141
);

0 commit comments

Comments
 (0)