diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-05-14 14:28:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 14:28:55 +0200 |
commit | 0dcb6b267524b645d3e058b935bf8f6b31bf1f56 (patch) | |
tree | f3e8a3826792e29f2fe2cefa8d61462521da7528 /tests/Core/Controller/JsControllerTest.php | |
parent | d2cc48c6dd07712b35b011e08223718d1fd5ec7d (diff) | |
parent | 0dffd07a60d5c928a0f380e6c072b424bf0184c0 (diff) | |
download | nextcloud-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/JsControllerTest.php')
-rw-r--r-- | tests/Core/Controller/JsControllerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
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') |