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.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/fetcher/FeedFetcherTest.php b/tests/unit/fetcher/FeedFetcherTest.php
index 392d0972c..7972a47b1 100644
--- a/tests/unit/fetcher/FeedFetcherTest.php
+++ b/tests/unit/fetcher/FeedFetcherTest.php
@@ -31,7 +31,7 @@ use \OCA\News\Db\Feed;
require_once(__DIR__ . "/../../classloader.php");
-class FeedFetcherTest extends \OCA\News\Utility\TestUtility {
+class FeedFetcherTest extends \PHPUnit_Framework_TestCase {
private $fetcher;
private $core;
@@ -128,8 +128,7 @@ class FeedFetcherTest extends \OCA\News\Utility\TestUtility {
$this->config->expects($this->any())
->method('getFeedFetcherTimeout')
->will($this->returnValue($this->fetchTimeout));
- $this->fetcher = new FeedFetcher($this->getAPIMock(),
- $this->coreFactory,
+ $this->fetcher = new FeedFetcher($this->coreFactory,
$this->faviconFetcher,
$timeFactory,
$this->cacheDirectory,