Merge pull request #10042 from nextcloud/fix-variable-not-replaced-in-behat-yml-when-default-value-was-used
Fix variable not replaced in "behat.yml" when default value was used
This commit is contained in:
commit
dd880d1319
|
@ -171,7 +171,6 @@ REPLACEMENT="profile: $ACCEPTANCE_TESTS_CONFIG_DIR"
|
|||
FILE_CONTENTS=$(<$ACCEPTANCE_TESTS_CONFIG_DIR/behat.yml)
|
||||
echo "${FILE_CONTENTS//$ORIGINAL/$REPLACEMENT}" > $ACCEPTANCE_TESTS_CONFIG_DIR/behat.yml
|
||||
|
||||
if [ "$SELENIUM_SERVER" != "$DEFAULT_SELENIUM_SERVER" ]; then
|
||||
# Set the Selenium server to be used by Mink. Although Mink sessions can be
|
||||
# extended through BEHAT_PARAMS this would require adding here too each new
|
||||
# session added to "behat.yml", including those added in the acceptance
|
||||
|
@ -185,7 +184,6 @@ if [ "$SELENIUM_SERVER" != "$DEFAULT_SELENIUM_SERVER" ]; then
|
|||
# regular expression characters that may appear in the URL, like "/".
|
||||
FILE_CONTENTS=$(<$ACCEPTANCE_TESTS_CONFIG_DIR/behat.yml)
|
||||
echo "${FILE_CONTENTS//$ORIGINAL/$REPLACEMENT}" > $ACCEPTANCE_TESTS_CONFIG_DIR/behat.yml
|
||||
fi
|
||||
|
||||
composer install
|
||||
|
||||
|
|
Loading…
Reference in New Issue