Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F27707691: D255.id597.diff
Thu, May 7, 04:56
F27707549: D255.id597.diff
Thu, May 7, 04:54
F27704676: D255.diff
Thu, May 7, 03:52
Unknown Object (File)
Sun, May 3, 13:03
Unknown Object (File)
Mon, Apr 27, 02:17
Unknown Object (File)
Thu, Apr 23, 05:52
Unknown Object (File)
Wed, Apr 15, 23:04
Unknown Object (File)
Tue, Apr 14, 04:41

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