summaryrefslogtreecommitdiffstats
path: root/tests/unit/fetcher/FeedFetcherTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/fetcher/FeedFetcherTest.php')
-rw-r--r--tests/unit/fetcher/FeedFetcherTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/fetcher/FeedFetcherTest.php b/tests/unit/fetcher/FeedFetcherTest.php
index 33383910e..4b91e15c3 100644
--- a/tests/unit/fetcher/FeedFetcherTest.php
+++ b/tests/unit/fetcher/FeedFetcherTest.php
@@ -90,7 +90,7 @@ class FeedFetcherTest extends \PHPUnit_Framework_TestCase {
$this->time = 2323;
$timeFactory = $this->getMockBuilder(
- '\OCP\AppFramework\Utility\ITimeFactory')
+ '\OCA\News\Utility\Time')
->disableOriginalConstructor()
->getMock();
$timeFactory->expects($this->any())
@@ -221,7 +221,6 @@ class FeedFetcherTest extends \PHPUnit_Framework_TestCase {
$item->setGuid($this->guid);
$item->setGuidHash($this->guid);
$item->setBody($this->body);
- $item->setLastModified($this->time);
$item->setRtl(false);
$this->expectItem('getAuthor', $this->author);