summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-12 16:58:59 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-12 16:58:59 +0200
commit0fdf801c25c6a983c367e9c8be79c81c58df980b (patch)
tree227959dc707ade0afaa54e6622e09372bddd2c91 /apps/theming
parent9aa6b99a567403c6a3749814033b0e2f600a876f (diff)
downloadnextcloud-server-0fdf801c25c6a983c367e9c8be79c81c58df980b.tar.gz
nextcloud-server-0fdf801c25c6a983c367e9c8be79c81c58df980b.zip
fix theming tests
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/tests/Controller/ThemingControllerTest.php5
-rw-r--r--apps/theming/tests/ThemingDefaultsTest.php3
2 files changed, 3 insertions, 5 deletions
diff --git a/apps/theming/tests/Controller/ThemingControllerTest.php b/apps/theming/tests/Controller/ThemingControllerTest.php
index 81b6b886c9f..2662cb16e0f 100644
--- a/apps/theming/tests/Controller/ThemingControllerTest.php
+++ b/apps/theming/tests/Controller/ThemingControllerTest.php
@@ -25,7 +25,6 @@
namespace OCA\Theming\Tests\Controller;
use OCA\Theming\Controller\ThemingController;
-use OCA\Theming\Template;
use OCA\Theming\Util;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\DataResponse;
@@ -40,7 +39,7 @@ class ThemingControllerTest extends TestCase {
private $request;
/** @var IConfig|\PHPUnit_Framework_MockObject_MockObject */
private $config;
- /** @var Template|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var ThemingDefaults|\PHPUnit_Framework_MockObject_MockObject */
private $template;
/** @var Util */
private $util;
@@ -56,7 +55,7 @@ class ThemingControllerTest extends TestCase {
public function setUp() {
$this->request = $this->getMockBuilder('OCP\IRequest')->getMock();
$this->config = $this->getMockBuilder('OCP\IConfig')->getMock();
- $this->template = $this->getMockBuilder('OCA\Theming\Template')
+ $this->template = $this->getMockBuilder('OCA\Theming\ThemingDefaults')
->disableOriginalConstructor()->getMock();
$this->util = new Util();
$this->timeFactory = $this->getMockBuilder('OCP\AppFramework\Utility\ITimeFactory')
diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php
index 34402825316..6ef7deea152 100644
--- a/apps/theming/tests/ThemingDefaultsTest.php
+++ b/apps/theming/tests/ThemingDefaultsTest.php
@@ -23,7 +23,6 @@
*/
namespace OCA\Theming\Tests;
-use OCA\Theming\Template;
use OCA\Theming\ThemingDefaults;
use OCP\IConfig;
use OCP\IL10N;
@@ -39,7 +38,7 @@ class ThemingDefaultsTest extends TestCase {
private $urlGenerator;
/** @var \OC_Defaults */
private $defaults;
- /** @var Template */
+ /** @var ThemingDefaults */
private $template;
public function setUp() {