diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-10-04 11:09:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 11:09:18 +0200 |
commit | b976cd55353d3790cd93b22eaf52137fe4b85dff (patch) | |
tree | f50d58efb99dca4d12c227bae009a65144b732f2 /tests | |
parent | 12da69d79d3546348356d4b71d010e206634c582 (diff) | |
parent | b5fd75f2be1429b5f6de8b1bc81a61d116e7f79a (diff) | |
download | nextcloud-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.php | 6 |
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) ); } |