summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/tests/ThemingDefaultsTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php
index ffa6810ffde..204c96d86d5 100644
--- a/apps/theming/tests/ThemingDefaultsTest.php
+++ b/apps/theming/tests/ThemingDefaultsTest.php
@@ -46,13 +46,13 @@ class ThemingDefaultsTest extends TestCase {
public function setUp() {
parent::setUp();
- $this->config = $this->getMock('\\OCP\\IConfig');
- $this->l10n = $this->getMock('\\OCP\\IL10N');
- $this->urlGenerator = $this->getMock('\\OCP\\IURLGenerator');
- $this->rootFolder = $this->getMockBuilder('OCP\Files\IRootFolder')
+ $this->config = $this->getMockBuilder(IConfig::class)->getMock();
+ $this->l10n = $this->getMockBuilder(IL10N::class)->getMock();
+ $this->urlGenerator = $this->getMockBuilder(IURLGenerator::class)->getMock();
+ $this->rootFolder = $this->getMockBuilder(IRootFolder::class)
->disableOriginalConstructor()
->getMock();
- $this->defaults = $this->getMockBuilder('\\OC_Defaults')
+ $this->defaults = $this->getMockBuilder(\OC_Defaults::class)
->disableOriginalConstructor()
->getMock();
$this->defaults