Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F34917226: D255.id.diff
Fri, Jul 3, 23:18
F34899811: D255.id600.diff
Fri, Jul 3, 19:19
F34831351: D255.diff
Fri, Jul 3, 06:01
Unknown Object (File)
Thu, Jul 2, 23:02
Unknown Object (File)
Fri, Jun 26, 03:12
Unknown Object (File)
Tue, Jun 23, 12:52
Unknown Object (File)
Mon, Jun 22, 00:59
Unknown Object (File)
Mon, Jun 22, 00: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