diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-31 10:18:08 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-03-31 10:19:06 +0200 |
commit | 5a5eda55dcdb636e243bb4afcdac2e1cc6f4787a (patch) | |
tree | 22000698d6a452024f276fd163df7a072eae7016 /vendor/fguillot/picofeed/tests/Parser/Rss20ParserTest.php | |
parent | 539b3823ade372cc2d076980e513aec57b4c8b06 (diff) |
update picofeed
Diffstat (limited to 'vendor/fguillot/picofeed/tests/Parser/Rss20ParserTest.php')
-rw-r--r-- | vendor/fguillot/picofeed/tests/Parser/Rss20ParserTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/fguillot/picofeed/tests/Parser/Rss20ParserTest.php b/vendor/fguillot/picofeed/tests/Parser/Rss20ParserTest.php index 0f8d73694..71ee74f28 100644 --- a/vendor/fguillot/picofeed/tests/Parser/Rss20ParserTest.php +++ b/vendor/fguillot/picofeed/tests/Parser/Rss20ParserTest.php @@ -94,7 +94,7 @@ class Rss20ParserTest extends PHPUnit_Framework_TestCase $parser = new Rss20(file_get_contents('tests/fixtures/fulltextrss.xml')); $feed = $parser->execute(); - $this->assertEquals(new DateTime, $feed->getDate()); + $this->assertEquals(time(), $feed->getDate()->getTimestamp(), '', 1); } public function testFeedLanguage() |