Fix tests

This commit is contained in:
Fabien Potencier
2024-07-05 07:59:36 +02:00
parent 0bbe173d29
commit 82d31319bb
3 changed files with 3 additions and 2 deletions
@@ -7,4 +7,4 @@
return []
--EXCEPTION--
Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Language "it" is not supported.") in "index.twig" at line 2.
Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Locale "it" is not supported.") in "index.twig" at line 2.
@@ -7,4 +7,4 @@
return []
--EXCEPTION--
Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Language "it" is not supported.") in "index.twig" at line 2.
Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Locale "it" is not supported.") in "index.twig" at line 2.
+1
View File
@@ -9,6 +9,7 @@ rm -rf drupal-twig-test
composer create-project --no-interaction drupal/recommended-project:10.1.x-dev drupal-twig-test
cd drupal-twig-test
(cd vendor/twig && rm -rf twig && ln -sf $REPO twig)
composer dump-autoload
php ./web/core/scripts/drupal install --no-interaction demo_umami > output
perl -p -i -e 's/^([A-Za-z]+)\: (.+)$/export DRUPAL_\1=\2/' output
source output