diff options
Diffstat (limited to 'apps/federatedfilesharing/tests/NotificationsTest.php')
-rw-r--r-- | apps/federatedfilesharing/tests/NotificationsTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/tests/NotificationsTest.php b/apps/federatedfilesharing/tests/NotificationsTest.php index 415afbd750c..dbcb1ef4e87 100644 --- a/apps/federatedfilesharing/tests/NotificationsTest.php +++ b/apps/federatedfilesharing/tests/NotificationsTest.php @@ -47,10 +47,10 @@ class NotificationsTest extends \Test\TestCase { public function setUp() { parent::setUp(); - $this->jobList = $this->getMock('OCP\BackgroundJob\IJobList'); + $this->jobList = $this->getMockBuilder('OCP\BackgroundJob\IJobList')->getMock(); $this->discoveryManager = $this->getMockBuilder('OCA\FederatedFileSharing\DiscoveryManager') ->disableOriginalConstructor()->getMock(); - $this->httpClientService = $this->getMock('OCP\Http\Client\IClientService'); + $this->httpClientService = $this->getMockBuilder('OCP\Http\Client\IClientService')->getMock(); $this->addressHandler = $this->getMockBuilder('OCA\FederatedFileSharing\AddressHandler') ->disableOriginalConstructor()->getMock(); |