Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-03-12 12:45:23 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-03-12 12:45:23 +0300
commitec633274722283fb0244450064834db8ab0e0985 (patch)
treeed680e330f65174c40e78ab7eedd553c373b7a7c
parent99aa7adaeff9ae9ea0ffcb65b5b363d256b41be9 (diff)
Force compatible EventDispatcher version in integration tests
Nextcloud requires EventDispatcher from Symfony 4.4. Behat required Symfony 4.x until Behat 3.5, but since Behat 3.6 it supports Symfony 5.x too. However, as the EventDispatcher version was not restricted in the "composer.json" file Composer installed the latest compatible version with all the dependencies, which happened to be Symfony 5.x. To prevent that now the EventDispatcher is explicitly limited to Symfony 4.4 only. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
-rw-r--r--build/integration/composer.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/integration/composer.json b/build/integration/composer.json
index 53346854304..954ea2829ae 100644
--- a/build/integration/composer.json
+++ b/build/integration/composer.json
@@ -4,6 +4,7 @@
"behat/behat": "~3.6.1",
"guzzlehttp/guzzle": "6.5.2",
"jarnaiz/behat-junit-formatter": "^1.3",
- "sabre/dav": "3.2.3"
+ "sabre/dav": "3.2.3",
+ "symfony/event-dispatcher": "~4.4"
}
}