Skip to content

Commit 7bd984d

Browse files
committed
Make sure the USER env var is set in tests as it might not be on some environments (like an alpine docker image)
1 parent bb4f688 commit 7bd984d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phpunit.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
<directory suffix="Test.php">tests</directory>
1010
<exclude>tests/phar</exclude>
1111
</testsuite>
12+
<php>
13+
<env name="USER" value="test" force="true"/>
14+
</php>
1215
<extensions>
1316
<extension class="Zalas\PHPUnit\Globals\AnnotationExtension"/>
1417
</extensions>

0 commit comments

Comments
 (0)