diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-17 19:22:26 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-18 14:06:07 +0100 |
commit | 26452806f56a563f3bc1486fa4953b972bb71285 (patch) | |
tree | bd32a0b2e0cf12c420d8ce4d211ec52c7b03f54f /tests | |
parent | 73759298658da929fe2da06d0446a93a56859067 (diff) |
another removed service
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/fetcher/FeedFetcherTest.php | 5 |
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)); |