aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-05-14 14:28:55 +0200
committerGitHub <noreply@github.com>2018-05-14 14:28:55 +0200
commit0dcb6b267524b645d3e058b935bf8f6b31bf1f56 (patch)
treef3e8a3826792e29f2fe2cefa8d61462521da7528 /tests/Core/Controller
parentd2cc48c6dd07712b35b011e08223718d1fd5ec7d (diff)
parent0dffd07a60d5c928a0f380e6c072b424bf0184c0 (diff)
downloadnextcloud-server-0dcb6b267524b645d3e058b935bf8f6b31bf1f56.tar.gz
nextcloud-server-0dcb6b267524b645d3e058b935bf8f6b31bf1f56.zip
Merge pull request #9420 from nextcloud/feature/5263/cleanup_previes
Cleanup previews in the background
Diffstat (limited to 'tests/Core/Controller')
-rw-r--r--tests/Core/Controller/CssControllerTest.php3
-rw-r--r--tests/Core/Controller/JsControllerTest.php3
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/Core/Controller/CssControllerTest.php b/tests/Core/Controller/CssControllerTest.php
index 8ec15f449a0..f4e6e83201e 100644
--- a/tests/Core/Controller/CssControllerTest.php
+++ b/tests/Core/Controller/CssControllerTest.php
@@ -23,6 +23,7 @@
namespace Tests\Core\Controller;
use OC\Core\Controller\CssController;
+use OC\Files\AppData\AppData;
use OC\Files\AppData\Factory;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\FileDisplayResponse;
@@ -51,7 +52,7 @@ class CssControllerTest extends TestCase {
/** @var Factory|\PHPUnit_Framework_MockObject_MockObject $factory */
$factory = $this->createMock(Factory::class);
- $this->appData = $this->createMock(IAppData::class);
+ $this->appData = $this->createMock(AppData::class);
$factory->expects($this->once())
->method('get')
->with('css')
diff --git a/tests/Core/Controller/JsControllerTest.php b/tests/Core/Controller/JsControllerTest.php
index 3910045276b..307ef837786 100644
--- a/tests/Core/Controller/JsControllerTest.php
+++ b/tests/Core/Controller/JsControllerTest.php
@@ -23,6 +23,7 @@
namespace Tests\Core\Controller;
use OC\Core\Controller\JsController;
+use OC\Files\AppData\AppData;
use OC\Files\AppData\Factory;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\FileDisplayResponse;
@@ -51,7 +52,7 @@ class JsControllerTest extends TestCase {
/** @var Factory|\PHPUnit_Framework_MockObject_MockObject $factory */
$factory = $this->createMock(Factory::class);
- $this->appData = $this->createMock(IAppData::class);
+ $this->appData = $this->createMock(AppData::class);
$factory->expects($this->once())
->method('get')
->with('js')