diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-12-17 19:20:21 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-01-18 14:06:07 +0100 |
commit | 73759298658da929fe2da06d0446a93a56859067 (patch) | |
tree | 99972490a099d31c70a0f856d681f71e194103a3 /tests/unit/service/FolderServiceTest.php | |
parent | f741d1fd502687aafede499ab55c0803ad469df3 (diff) |
first stab at intelligent container
Diffstat (limited to 'tests/unit/service/FolderServiceTest.php')
-rw-r--r-- | tests/unit/service/FolderServiceTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/service/FolderServiceTest.php b/tests/unit/service/FolderServiceTest.php index 927cd1229..c6e17bdbd 100644 --- a/tests/unit/service/FolderServiceTest.php +++ b/tests/unit/service/FolderServiceTest.php @@ -30,7 +30,9 @@ class FolderServiceTest extends \PHPUnit_Framework_TestCase { ->disableOriginalConstructor() ->getMock(); $this->time = 222; - $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)); |