summaryrefslogtreecommitdiffstats
path: root/apps/theming/tests/Settings/SectionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/tests/Settings/SectionTest.php')
-rw-r--r--apps/theming/tests/Settings/SectionTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/tests/Settings/SectionTest.php b/apps/theming/tests/Settings/SectionTest.php
index e8a9a217f1f..3a3a4375236 100644
--- a/apps/theming/tests/Settings/SectionTest.php
+++ b/apps/theming/tests/Settings/SectionTest.php
@@ -35,7 +35,7 @@ class SectionTest extends TestCase {
public function setUp() {
parent::setUp();
- $this->l = $this->createMock('\OCP\IL10N');
+ $this->l = $this->getMockBuilder('\OCP\IL10N')->getMock();
$this->section = new Section(
$this->l