summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-10-04 11:09:18 +0200
committerGitHub <noreply@github.com>2020-10-04 11:09:18 +0200
commitb976cd55353d3790cd93b22eaf52137fe4b85dff (patch)
treef50d58efb99dca4d12c227bae009a65144b732f2 /tests
parent12da69d79d3546348356d4b71d010e206634c582 (diff)
parentb5fd75f2be1429b5f6de8b1bc81a61d116e7f79a (diff)
downloadnextcloud-server-b976cd55353d3790cd93b22eaf52137fe4b85dff.tar.gz
nextcloud-server-b976cd55353d3790cd93b22eaf52137fe4b85dff.zip
Merge pull request #21821 from nextcloud/enh/bootstrap/initial_state
Bootstrap: add initial state registration
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/InitialStateServiceTest.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/lib/InitialStateServiceTest.php b/tests/lib/InitialStateServiceTest.php
index 2afa257d3be..30eca056206 100644
--- a/tests/lib/InitialStateServiceTest.php
+++ b/tests/lib/InitialStateServiceTest.php
@@ -25,6 +25,8 @@ declare(strict_types=1);
namespace Test;
+use OC\AppFramework\Bootstrap\Coordinator;
+use OCP\IServerContainer;
use function json_encode;
use JsonSerializable;
use OC\InitialStateService;
@@ -40,7 +42,9 @@ class InitialStateServiceTest extends TestCase {
parent::setUp();
$this->service = new InitialStateService(
- $this->createMock(ILogger::class)
+ $this->createMock(ILogger::class),
+ $this->createMock(Coordinator::class),
+ $this->createMock(IServerContainer::class)
);
}