Add Drupal Test Traits

This commit is contained in:
Oliver Davies 2025-06-10 20:47:23 +01:00
parent 7d8f0581c1
commit 7e45664407
3 changed files with 70 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="web/core/tests/bootstrap.php"
bootstrap="vendor/weitzman/drupal-test-traits/src/bootstrap.php"
colors="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
@ -16,6 +16,7 @@
<php>
<ini name="error_reporting" value="32767"/>
<ini name="memory_limit" value="-1"/>
<env name="DTT_BASE_URL" value="http://localhost:8888"/>
<env name="SIMPLETEST_BASE_URL" value="http://localhost:8888"/>
<env name="SIMPLETEST_DB" value="sqlite://localhost//dev/shm/testing.sqlite"/>
<env name="BROWSERTEST_OUTPUT_BASE_URL" value=""/>