Skip to content

Commit

Permalink
Use $_SERVER instead of $_ENV for phpunit.
Browse files Browse the repository at this point in the history
Laravel 5.8 limits dotenv to only rely on $_SERVER and not $_ENV. See laravel/framework#27462
  • Loading branch information
crynobone authored Feb 13, 2019
1 parent fae44ee commit 69bd1dc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
</whitelist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="MAIL_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
<env name="SESSION_DRIVER" value="array"/>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="MAIL_DRIVER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
</php>
</phpunit>

0 comments on commit 69bd1dc

Please sign in to comment.