Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F17287243: D255.id597.diff
Sat, Dec 13, 07:43
F17264948: D255.id600.diff
Sat, Dec 13, 06:03
F17178971: D255.id600.diff
Fri, Dec 12, 23:37
Unknown Object (File)
Fri, Dec 12, 04:05
Unknown Object (File)
Wed, Dec 10, 23:15
Unknown Object (File)
Wed, Dec 10, 21:38
Unknown Object (File)
Mon, Dec 8, 10:42
Unknown Object (File)
Fri, Dec 5, 01:00

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 Passed
Unit
No Test Coverage
Branch
ci