Skip to content
Snippets Groups Projects
Commit 018683c0 authored by Jean Valverde's avatar Jean Valverde :construction_site:
Browse files

fix: drupal9+ tests phpunit

parent 25afaa23
No related branches found
No related tags found
No related merge requests found
Pipeline #360791688 passed
......@@ -93,11 +93,6 @@ build:
"emuse/behat-html-formatter:0.2.*";
echo -e "\e[0Ksection_end:`date +%s`:dev_install\r\e[0K";
fi
# Added phpspec for Drupal 9.0+, @see https://www.drupal.org/project/drupal/issues/3182653
- |
if [ 1 -eq "$(echo "${CI_DRUPAL_VERSION} >= 9.0" | bc)" ]; then
composer require --no-ansi -n "phpspec/prophecy-phpunit";
fi
################################################################################
# Drupal tests.
......
......@@ -32,4 +32,10 @@
- mkdir -p ${BROWSERTEST_OUTPUT_DIRECTORY} &&
chown -R www-data:www-data ${BROWSERTEST_OUTPUT_DIRECTORY} &&
chmod -R 777 ${BROWSERTEST_OUTPUT_DIRECTORY}
# Added phpspec for Drupal 9.0+, @see https://www.drupal.org/project/drupal/issues/3182653
# @todo: remove when 8.9 is deprecated.
- |
if [ 1 -eq "$(echo "${CI_DRUPAL_VERSION} >= 9.0" | bc)" ]; then
composer require --no-ansi -n "phpspec/prophecy-phpunit";
fi
- echo -e "\e[0Ksection_end:`date +%s`:test_ci_prepare\r\e[0K"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment