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:
parent
ccd5b423f6
commit
646fe86d15
|
@ -234,10 +234,10 @@ We also need to configure the database for Drupal to connect to and use when run
|
||||||
|
|
||||||
```diff
|
```diff
|
||||||
- <env name="SIMPLETEST_BASE_URL" value=""/>
|
- <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=""/>
|
||||||
+ <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
|
### 1f. Running the tests
|
||||||
|
|
Loading…
Reference in a new issue