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>
This commit is contained in:
Daniel Calviño Sánchez 2020-03-12 10:45:23 +01:00
parent 99aa7adaef
commit ec63327472
1 changed files with 2 additions and 1 deletions

View File

@ -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"
}
}