Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F57840179: D255.id.diff
Mon, Nov 23, 09:21
F57781591: D255.diff
Sun, Nov 22, 19:57
Unknown Object (File)
Sun, Nov 15, 12:20
Unknown Object (File)
Sun, Nov 15, 12:20
Unknown Object (File)
Mon, Nov 9, 20:47
Unknown Object (File)
Sun, Nov 8, 01:43
Unknown Object (File)
Sat, Nov 7, 16:19
Unknown Object (File)
Sun, Nov 1, 19:40

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