Skip to content

Commit

Permalink
fix: avoid setting DRUPAL_CORE on default tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hanoii committed Oct 10, 2024
1 parent 661a83c commit be1e001
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/_common.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ _common_setup() {
cp -R ${DIR}/tests/testdata/test_drupal_contrib/* ${TESTDIR}
cd ${TESTDIR}
ddev config --project-name=${PROJNAME} --project-type=drupal --docroot=web
echo -e "web_environment:\n - DRUPAL_CORE=^${TEST_DRUPAL_CORE}" > .ddev/config.~overrides.yaml
if [ "$TEST_DRUPAL_CORE" != "default" ]; then
echo -e "web_environment:\n - DRUPAL_CORE=^${TEST_DRUPAL_CORE}" > .ddev/config.~overrides.yaml
fi
ddev get ${DIR}
}

Expand Down

0 comments on commit be1e001

Please sign in to comment.