diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-10-03 15:47:38 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-10-04 09:35:33 +0200 |
commit | f865a3a1c2405af5c649b6d78f95b93ed60ba04f (patch) | |
tree | c7194750f2c4c88be23b0cd4ec508a59d8b61d0b /tests | |
parent | eba83d22bbcf45caf400704b8794acce180c5ba9 (diff) | |
download | nextcloud-server-f865a3a1c2405af5c649b6d78f95b93ed60ba04f.tar.gz nextcloud-server-f865a3a1c2405af5c649b6d78f95b93ed60ba04f.zip |
Move initial state provider to boostrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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) ); } |