aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/AppFramework
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-06-24 15:38:03 +0200
committerGitHub <noreply@github.com>2020-06-24 15:38:03 +0200
commit654cd18864c943d9ff93c2e6151bb6529fa44513 (patch)
treebe2e318ce6fe023cc8fda0436b42bdf0e927a213 /tests/lib/AppFramework
parent7972a5fda6290b425e1f62f72c2a0c49ec648ae3 (diff)
parent2c699e090179a2ca235d28540b5999e27c36b9de (diff)
downloadnextcloud-server-654cd18864c943d9ff93c2e6151bb6529fa44513.tar.gz
nextcloud-server-654cd18864c943d9ff93c2e6151bb6529fa44513.zip
Merge pull request #20916 from nextcloud/feature/unified-search-api
Add unified search API
Diffstat (limited to 'tests/lib/AppFramework')
-rw-r--r--tests/lib/AppFramework/Bootstrap/CoordinatorTest.php6
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
);
}