diff --git a/Tests/Application/Kernel.php b/Tests/Application/Kernel.php index 9d70ea00..a0b482c5 100644 --- a/Tests/Application/Kernel.php +++ b/Tests/Application/Kernel.php @@ -47,7 +47,10 @@ public function registerBundles() { $bundles = parent::registerBundles(); $bundles[] = new SuluArticleBundle(); - $bundles[] = new ONGRElasticsearchBundle(); + + if ('phpcr' === $this->config) { + $bundles[] = new ONGRElasticsearchBundle(); + } if ('extend' === getenv('ARTICLE_TEST_CASE')) { $bundles[] = new TestExtendBundle(); diff --git a/composer.json b/composer.json index 571ade12..aae97c38 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "jms/serializer": "^3.3", "jms/serializer-bundle": "^3.3", "ramsey/uuid": "^3.1 || ^4.0", - "sulu/sulu": "^2.0.10 || ^2.1@dev", + "sulu/sulu": "^2.1 || ^2.3@dev", "symfony/config": "^4.3 || ^5.0", "symfony/dependency-injection": "^4.3 || ^5.0", "symfony/http-foundation": "^4.3 || ^5.0",