Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F11726024: D255.diff
Tue, Sep 16, 23:31
Unknown Object (File)
Sun, Sep 14, 08:17
Unknown Object (File)
Sun, Sep 14, 08:02
Unknown Object (File)
Sun, Sep 14, 07:53
Unknown Object (File)
Sat, Sep 13, 17:44
Unknown Object (File)
Sat, Sep 13, 17:16
Unknown Object (File)
Sat, Sep 13, 05:45
Unknown Object (File)
Fri, Sep 12, 15:52

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