Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/tests/CapabilitiesTest.php')
-rw-r--r--apps/theming/tests/CapabilitiesTest.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/theming/tests/CapabilitiesTest.php b/apps/theming/tests/CapabilitiesTest.php
index 7daccc7307c..deb1c4e28d4 100644
--- a/apps/theming/tests/CapabilitiesTest.php
+++ b/apps/theming/tests/CapabilitiesTest.php
@@ -22,8 +22,7 @@
namespace OCA\Theming\Tests;
use OCA\Theming\Capabilities;
-use OCA\Theming\ThemingDefaults;
-use OCP\IURLGenerator;
+use OCA\Theming\Template;
use Test\TestCase;
/**
@@ -33,7 +32,7 @@ use Test\TestCase;
* @package OCA\Theming\Tests
*/
class CapabilitiesTest extends TestCase {
- /** @var ThemingDefaults|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var Template|\PHPUnit_Framework_MockObject_MockObject */
protected $theming;
/** @var Capabilities */
@@ -42,7 +41,7 @@ class CapabilitiesTest extends TestCase {
protected function setUp() {
parent::setUp();
- $this->theming = $this->getMockBuilder('OCA\Theming\ThemingDefaults')
+ $this->theming = $this->getMockBuilder('OCA\Theming\Template')
->disableOriginalConstructor()
->getMock();