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)
Wed, Jun 4, 18:24
Unknown Object (File)
Sun, Jun 1, 20:47
Unknown Object (File)
Mon, May 26, 15:09
Unknown Object (File)
Thu, May 22, 04:37
Unknown Object (File)
Mon, May 19, 09:27
Unknown Object (File)
Sun, May 18, 20:53
Unknown Object (File)
Sun, May 18, 11:35
Unknown Object (File)
Sat, May 17, 19:25

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