diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-04-09 19:14:28 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-04-09 19:14:28 +0200 |
commit | ae11018b37ef9506aa27660315b55a0898491f59 (patch) | |
tree | bf622d4b10a99c332a989ad09d07e24c8ca74f65 /tests | |
parent | d4b965433085eb43911cd7d896ea3fec0ec45850 (diff) |
drop last_modified column
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/fixtures/feedfixture.php | 1 | ||||
-rw-r--r-- | tests/unit/db/FeedTest.php | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/tests/integration/fixtures/feedfixture.php b/tests/integration/fixtures/feedfixture.php index 25c1cbf46..eafcab906 100644 --- a/tests/integration/fixtures/feedfixture.php +++ b/tests/integration/fixtures/feedfixture.php @@ -35,7 +35,6 @@ class FeedFixture extends Feed { 'articlesPerUpdate' => 40, 'httpLastModified' => 10, 'httpEtag' => '', - 'lastModified' => 9, 'location' => 'http://feed.com/rss', 'ordering' => 0, 'fullTextEnabled' => false, 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()); } |