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;
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;
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')
*/
namespace OCA\Theming\Tests;
-use OCA\Theming\Template;
use OCA\Theming\ThemingDefaults;
use OCP\IConfig;
use OCP\IL10N;
private $urlGenerator;
/** @var \OC_Defaults */
private $defaults;
- /** @var Template */
+ /** @var ThemingDefaults */
private $template;
public function setUp() {