aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-08-12 14:23:48 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-08-26 11:54:24 +0200
commit327c47a9894cb6f8730e5824e3bda1b5e51db9d5 (patch)
tree2310065b7c9ba780c98846547fe040a8bb69b6ad /apps/files_sharing/tests
parent3f64e9423bf190629f867be20f17444a00257f8a (diff)
downloadnextcloud-server-327c47a9894cb6f8730e5824e3bda1b5e51db9d5.tar.gz
nextcloud-server-327c47a9894cb6f8730e5824e3bda1b5e51db9d5.zip
Do not use deprecated method in new code
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/api/sharees.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/api/sharees.php b/apps/files_sharing/tests/api/sharees.php
index 93a8d5c3d7e..863dc193ae0 100644
--- a/apps/files_sharing/tests/api/sharees.php
+++ b/apps/files_sharing/tests/api/sharees.php
@@ -63,7 +63,7 @@ class ShareesTest extends TestCase {
$this->groupManager,
$this->userManager,
$this->contactsManager,
- $this->getMockBuilder('OCP\IAppConfig')->disableOriginalConstructor()->getMock(),
+ $this->getMockBuilder('OCP\IConfig')->disableOriginalConstructor()->getMock(),
$this->session,
$this->getMockBuilder('OCP\IURLGenerator')->disableOriginalConstructor()->getMock()
);
@@ -434,7 +434,7 @@ class ShareesTest extends TestCase {
$this->groupManager,
$this->userManager,
$this->contactsManager,
- $this->getMockBuilder('OCP\IAppConfig')->disableOriginalConstructor()->getMock(),
+ $this->getMockBuilder('OCP\IConfig')->disableOriginalConstructor()->getMock(),
$this->session,
$this->getMockBuilder('OCP\IURLGenerator')->disableOriginalConstructor()->getMock()
])