aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Settings
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-09-26 18:59:52 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-09-27 09:44:21 +0200
commitf71ffc73dbbf4c75522960c95a7f7500466041f4 (patch)
tree9e9180fb4d6acc9448e04842d77355403c3a88ea /tests/lib/Settings
parent0259792614e3ed2dd743c2c292d8d90e2b0a05aa (diff)
downloadnextcloud-server-f71ffc73dbbf4c75522960c95a7f7500466041f4.tar.gz
nextcloud-server-f71ffc73dbbf4c75522960c95a7f7500466041f4.zip
Remove unused constructor argument
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Settings')
-rw-r--r--tests/lib/Settings/ManagerTest.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/lib/Settings/ManagerTest.php b/tests/lib/Settings/ManagerTest.php
index af472875faf..b82fb5bc3ca 100644
--- a/tests/lib/Settings/ManagerTest.php
+++ b/tests/lib/Settings/ManagerTest.php
@@ -42,8 +42,6 @@ class ManagerTest extends TestCase {
/** @var ILogger|\PHPUnit_Framework_MockObject_MockObject */
private $logger;
/** @var IDBConnection|\PHPUnit_Framework_MockObject_MockObject */
- private $dbConnection;
- /** @var IL10N|\PHPUnit_Framework_MockObject_MockObject */
private $l10n;
/** @var IURLGenerator|\PHPUnit_Framework_MockObject_MockObject */
private $url;
@@ -54,14 +52,12 @@ class ManagerTest extends TestCase {
parent::setUp();
$this->logger = $this->createMock(ILogger::class);
- $this->dbConnection = $this->createMock(IDBConnection::class);
$this->l10n = $this->createMock(IL10N::class);
$this->url = $this->createMock(IURLGenerator::class);
$this->container = $this->createMock(IServerContainer::class);
$this->manager = new Manager(
$this->logger,
- $this->dbConnection,
$this->l10n,
$this->url,
$this->container