Skip to content

Commit 18e68af

Browse files
committed
fix: provide default environment variables when testing
1 parent 055cdfc commit 18e68af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

phpunit.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@
2020
<directory suffix=".php">./app</directory>
2121
</include>
2222
</source>
23+
<php>
24+
<env name="ENVIRONMENT" value="testing" />
25+
<env name="BASE_URI" value="" />
26+
<env name="CACHE" value="null" />
27+
</php>
2328
</phpunit>

0 commit comments

Comments
 (0)