Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 25, 19:32
Unknown Object (File)
Fri, Apr 25, 16:17
Unknown Object (File)
Fri, Apr 25, 01:25
Unknown Object (File)
Tue, Apr 22, 21:05
Unknown Object (File)
Tue, Apr 22, 20:40
Unknown Object (File)
Tue, Apr 22, 03:03
Unknown Object (File)
Mon, Apr 21, 03:24
Unknown Object (File)
Sat, Apr 19, 15:42

Details

Summary

D253 has reverted D141, and so by default APP_KEY is invalid, forcing
a setup operation to ensure a proper unique key is generated.

D141 goal were to allow phpunit to run without an .env file.

We can achieve this goal adding a dummy APP_KEY in phpunit environment.

Test Plan

Run phpunit tests

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable