Update SIMPLETEST_BASE_URL and SIMPLETEST_DB

Update the base URL to work inside DDEV, and the DB connection details
to use `/dev/shm` for better performance.
This commit is contained in:
Oliver Davies 2020-11-13 20:47:14 +00:00
parent ccd5b423f6
commit 646fe86d15

View file

@ -234,10 +234,10 @@ We also need to configure the database for Drupal to connect to and use when run
```diff
- <env name="SIMPLETEST_BASE_URL" value=""/>
+ <env name="SIMPLETEST_BASE_URL" value="https://localhost:8000"/>
+ <env name="SIMPLETEST_BASE_URL" value="http://localhost"/>
- <env name="SIMPLETEST_DB" value=""/>
+ <env name="SIMPLETEST_DB" value="sqlite://localhost//tmp/test.sqlite"/>
+ <env name="SIMPLETEST_DB" value="sqlite://localhost//dev/shm/test.sqlite"/>
```
### 1f. Running the tests