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:
parent
99aa7adaef
commit
ec63327472
|
@ -4,6 +4,7 @@
|
||||||
"behat/behat": "~3.6.1",
|
"behat/behat": "~3.6.1",
|
||||||
"guzzlehttp/guzzle": "6.5.2",
|
"guzzlehttp/guzzle": "6.5.2",
|
||||||
"jarnaiz/behat-junit-formatter": "^1.3",
|
"jarnaiz/behat-junit-formatter": "^1.3",
|
||||||
"sabre/dav": "3.2.3"
|
"sabre/dav": "3.2.3",
|
||||||
|
"symfony/event-dispatcher": "~4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue