Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-08-23 02:43:00 +0300
committerOlivier Paroz <github@oparoz.com>2015-08-23 02:43:00 +0300
commit55f7c9e7de58dbed8fc3ea7709efbaeaee99eefa (patch)
tree1c9be549fc1f4ab289ae7cfe1b98f957b3b833e8 /tests/unit/controller
parent1455e4a46df2a62eab7421bfae7bd2bdf58a1a24 (diff)
Don't use "and" part2
Diffstat (limited to 'tests/unit/controller')
-rw-r--r--tests/unit/controller/PageControllerTest.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/unit/controller/PageControllerTest.php b/tests/unit/controller/PageControllerTest.php
index 956d98a3..ec30c0de 100644
--- a/tests/unit/controller/PageControllerTest.php
+++ b/tests/unit/controller/PageControllerTest.php
@@ -37,8 +37,6 @@ class PageControllerTest extends \Test\TestCase {
private $environment;
/** @var IURLGenerator */
private $urlGenerator;
- /** @var DownloadService */
- private $downloadService;
/** @var IConfig */
private $appConfig;
/** @var PageController */
@@ -59,9 +57,6 @@ class PageControllerTest extends \Test\TestCase {
$this->urlGenerator = $this->getMockBuilder('\OCP\IURLGenerator')
->disableOriginalConstructor()
->getMock();
- $this->downloadService = $this->getMockBuilder('\OCA\Gallery\Service\DownloadService')
- ->disableOriginalConstructor()
- ->getMock();
$this->appConfig = $this->getMockBuilder('\OCP\IConfig')
->disableOriginalConstructor()
->getMock();
@@ -70,7 +65,6 @@ class PageControllerTest extends \Test\TestCase {
$this->request,
$this->environment,
$this->urlGenerator,
- $this->downloadService,
$this->appConfig
);
}
@@ -238,4 +232,4 @@ class PageControllerTest extends \Test\TestCase {
->willReturn($url);
}
-} \ No newline at end of file
+}