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)
Sat, Jul 25, 20:00
Unknown Object (File)
Tue, Jul 21, 02:01
Unknown Object (File)
Sat, Jul 18, 11:38
Unknown Object (File)
Fri, Jul 17, 21:52
Unknown Object (File)
Sat, Jul 11, 05:57
Unknown Object (File)
Sat, Jul 11, 04:55
Unknown Object (File)
Jul 5 2026, 09:03
Unknown Object (File)
Jul 5 2026, 04:38

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