From ce6d9b8ac2edc3a5d3de12f0d8526823a0177b87 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Thu, 11 Mar 2021 17:35:31 +0100 Subject: [PATCH] Fix prefer lowest tests --- Tests/Application/Kernel.php | 5 ++++- composer.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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",