diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-01-04 15:00:39 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-01-04 15:00:39 +0300 |
commit | 5bed79ffe9822e921f90f8ed4da2f9b31dc6b64c (patch) | |
tree | ae617919229f6b0db0d6466d6210feb86317c7fa /tests | |
parent | 4f7c82b734c9d570205d165fa79f72aed1ee6081 (diff) |
Make use of the IPreview so we use shared previews
* Rip out private calls to \OC\Preview
* Use \OCP\IPreview so we use the shared previews by default
* Leave the wrapper for now
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/preview/PreviewTest.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/unit/preview/PreviewTest.php b/tests/unit/preview/PreviewTest.php index 2a136361..8c6323ef 100644 --- a/tests/unit/preview/PreviewTest.php +++ b/tests/unit/preview/PreviewTest.php @@ -50,11 +50,7 @@ class PreviewTest extends \Test\GalleryUnitTest { $this->logger = $this->getMockBuilder('\OCP\ILogger') ->disableOriginalConstructor() ->getMock(); - $this->previewManager = new Preview( - $this->config, - $this->corePreviewManager, - $this->logger - ); + $this->previewManager = new Preview($this->corePreviewManager); } /** |