aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/tests/DbHandlerTest.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-31 20:54:17 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-31 20:54:17 +0200
commit62485ed08f2ae12c1c6dc92d1b9be020c67001ca (patch)
tree2bcfddd7d2dfd1f836c2a9e3f6ce1469a598ecd2 /apps/federation/tests/DbHandlerTest.php
parent2685129184472a308a3ba7730207816151b0ffd7 (diff)
downloadnextcloud-server-62485ed08f2ae12c1c6dc92d1b9be020c67001ca.tar.gz
nextcloud-server-62485ed08f2ae12c1c6dc92d1b9be020c67001ca.zip
Fix deprecated getMock call in Federation app
Diffstat (limited to 'apps/federation/tests/DbHandlerTest.php')
-rw-r--r--apps/federation/tests/DbHandlerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/tests/DbHandlerTest.php b/apps/federation/tests/DbHandlerTest.php
index f27317cfad9..d9f9cf162b6 100644
--- a/apps/federation/tests/DbHandlerTest.php
+++ b/apps/federation/tests/DbHandlerTest.php
@@ -53,7 +53,7 @@ class DbHandlerTest extends TestCase {
parent::setUp();
$this->connection = \OC::$server->getDatabaseConnection();
- $this->il10n = $this->getMock('OCP\IL10N');
+ $this->il10n = $this->getMockBuilder(IL10N::class)->getMock();
$this->dbHandler = new DbHandler(
$this->connection,