summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-12-17 19:22:26 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-01-18 14:06:07 +0100
commit26452806f56a563f3bc1486fa4953b972bb71285 (patch)
treebd32a0b2e0cf12c420d8ce4d211ec52c7b03f54f /tests
parent73759298658da929fe2da06d0446a93a56859067 (diff)
another removed service
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/fetcher/FeedFetcherTest.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/fetcher/FeedFetcherTest.php b/tests/unit/fetcher/FeedFetcherTest.php
index 9c24524b0..d9652429a 100644
--- a/tests/unit/fetcher/FeedFetcherTest.php
+++ b/tests/unit/fetcher/FeedFetcherTest.php
@@ -86,7 +86,10 @@ class FeedFetcherTest extends \PHPUnit_Framework_TestCase {
->getMock();
$this->time = 2323;
- $timeFactory = $this->getMock('TimeFactory', ['getTime']);
+ $timeFactory = $this->getMockBuilder(
+ '\OCP\AppFramework\Utility\ITimeFactory')
+ ->disableOriginalConstructor()
+ ->getMock();
$timeFactory->expects($this->any())
->method('getTime')
->will($this->returnValue($this->time));