diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-22 11:06:43 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-22 11:06:43 +0200 |
commit | dc8b8301d387d48e38624423cba9cf5323f26291 (patch) | |
tree | bbc8f280f74f4f628d0f2720e410bf09f2134325 /tests/unit/db/FeedTest.php | |
parent | cc3fa38cee2e24dacb940ec5d7ca41e593aa824a (diff) |
fix #302
Diffstat (limited to 'tests/unit/db/FeedTest.php')
-rw-r--r-- | tests/unit/db/FeedTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/db/FeedTest.php b/tests/unit/db/FeedTest.php index 936948813..dd0c52da5 100644 --- a/tests/unit/db/FeedTest.php +++ b/tests/unit/db/FeedTest.php @@ -20,6 +20,8 @@ class FeedTest extends \PHPUnit_Framework_TestCase { private function createFeed() { $feed = new Feed(); $feed->setId(3); + $feed->setLastModified(44); + $feed->setEtag(45); $feed->setUrl('http://google.com/some/weird/path'); $feed->setTitle('title'); $feed->setFaviconLink('favicon'); @@ -42,6 +44,8 @@ class FeedTest extends \PHPUnit_Framework_TestCase { 'added' => 123, 'folderId' => 1, 'unreadCount' => 321, + 'lastModified' => 44, + 'etag' => 45, 'link' => 'https://www.google.com/some/weird/path' ], $feed->toAPI()); } |