Commit 25d68cf1 authored by Florent Torregrosa's avatar Florent Torregrosa 🤘
Browse files

PHPUnit: Fix configuration to be able to execute FunctionalJavascript

tests.
parent 08173a4a
Pipeline #202921812 passed with stages
in 3 minutes and 6 seconds
......@@ -28,6 +28,7 @@ vendor
/app/.csslintrc
/app/.eslintignore
/app/.eslintrc.json
/app/.ht.router.php
# Drupal's file directory.
/app/sites/default/default.services.yml
......
......@@ -119,7 +119,7 @@ build dev:
MYSQL_DATABASE: drupal
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
SIMPLETEST_BASE_URL: http://127.0.0.1:8888
SIMPLETEST_BASE_URL: http://build:8888
services:
- name: mariadb:10.5
alias: mysql
......@@ -132,7 +132,7 @@ build dev:
- "--verbose"
- "--whitelisted-ips="
script:
- cd ./www && php -S 0.0.0.0:8888 .ht.router.php >> webserver.log 2>&1 &
- cd ./app && php -S 0.0.0.0:8888 .ht.router.php >> webserver.log 2>&1 &
- ./scripts/tests/run-tests-phpunit.sh
workflow:
......
This diff is collapsed.
......@@ -17,7 +17,7 @@
<!-- Do not limit the amount of memory tests take to run. -->
<ini name="memory_limit" value="-1"/>
<!-- Example SIMPLETEST_BASE_URL value: http://localhost -->
<env name="SIMPLETEST_BASE_URL" value="http://127.0.0.1"/>
<env name="SIMPLETEST_BASE_URL" value="http://web"/>
<!-- Example SIMPLETEST_DB value: mysql://username:password@localhost/databasename#table_prefix -->
<!-- <env name="SIMPLETEST_DB" value="sqlite://localhost/:memory:"/>-->
<env name="SIMPLETEST_DB" value="mysql://drupal:drupal@mysql/drupal"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment