diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-05-11 10:35:54 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-24 14:20:25 +0200 |
commit | 4488e846a526ed8de37e9756621b7c008d7a9466 (patch) | |
tree | 2e2a9bfe4b2c5fcfb82fc1bcd9ab23693b58fe08 /tests | |
parent | 50b1568d48efddc315e503c6a2c3ffe485db7658 (diff) | |
download | nextcloud-server-4488e846a526ed8de37e9756621b7c008d7a9466.tar.gz nextcloud-server-4488e846a526ed8de37e9756621b7c008d7a9466.zip |
Add unified search API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/AppFramework/Bootstrap/CoordinatorTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/AppFramework/Bootstrap/CoordinatorTest.php b/tests/lib/AppFramework/Bootstrap/CoordinatorTest.php index c12e5eeb150..6909ad94e7f 100644 --- a/tests/lib/AppFramework/Bootstrap/CoordinatorTest.php +++ b/tests/lib/AppFramework/Bootstrap/CoordinatorTest.php @@ -26,6 +26,7 @@ declare(strict_types=1); namespace lib\AppFramework\Bootstrap; use OC\AppFramework\Bootstrap\Coordinator; +use OC\Search\SearchComposer; use OC\Support\CrashReport\Registry; use OCP\App\IAppManager; use OCP\AppFramework\App; @@ -53,6 +54,9 @@ class CoordinatorTest extends TestCase { /** @var IEventDispatcher|MockObject */ private $eventDispatcher; + /** @var SearchComposer|MockObject */ + private $searchComposer; + /** @var ILogger|MockObject */ private $logger; @@ -66,12 +70,14 @@ class CoordinatorTest extends TestCase { $this->serverContainer = $this->createMock(IServerContainer::class); $this->crashReporterRegistry = $this->createMock(Registry::class); $this->eventDispatcher = $this->createMock(IEventDispatcher::class); + $this->searchComposer = $this->createMock(SearchComposer::class); $this->logger = $this->createMock(ILogger::class); $this->coordinator = new Coordinator( $this->serverContainer, $this->crashReporterRegistry, $this->eventDispatcher, + $this->searchComposer, $this->logger ); } |