summaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-04-09 19:14:28 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-04-09 19:14:28 +0200
commitae11018b37ef9506aa27660315b55a0898491f59 (patch)
treebf622d4b10a99c332a989ad09d07e24c8ca74f65 /tests/unit
parentd4b965433085eb43911cd7d896ea3fec0ec45850 (diff)
drop last_modified column
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/db/FeedTest.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/unit/db/FeedTest.php b/tests/unit/db/FeedTest.php
index fdcdc3c53..63a32328e 100644
--- a/tests/unit/db/FeedTest.php
+++ b/tests/unit/db/FeedTest.php
@@ -20,7 +20,6 @@ class FeedTest extends \PHPUnit_Framework_TestCase {
private function createFeed() {
$feed = new Feed();
$feed->setId(3);
- $feed->setLastModified(43);
$feed->setHttpLastModified(44);
$feed->setHttpEtag(45);
$feed->setUrl('http://google.com/some/weird/path');
@@ -55,8 +54,7 @@ class FeedTest extends \PHPUnit_Framework_TestCase {
'unreadCount' => 321,
'ordering' => 2,
'pinned' => true,
- 'link' => 'https://www.google.com/some/weird/path',
- 'lastModified' => 43
+ 'link' => 'https://www.google.com/some/weird/path'
], $feed->toAPI());
}
@@ -87,8 +85,7 @@ class FeedTest extends \PHPUnit_Framework_TestCase {
'updateErrorCount' => 2,
'lastUpdateError' => 'hi',
'basicAuthUser' => 'user',
- 'basicAuthPassword' => 'password',
- 'lastModified' => 43
+ 'basicAuthPassword' => 'password'
], $feed->jsonSerialize());
}