Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F11019746: D255.id600.diff
Sat, Aug 9, 13:20
Unknown Object (File)
Thu, Aug 7, 14:50
Unknown Object (File)
Wed, Aug 6, 20:07
Unknown Object (File)
Wed, Aug 6, 13:12
Unknown Object (File)
Tue, Aug 5, 15:25
Unknown Object (File)
Tue, Aug 5, 09:53
Unknown Object (File)
Tue, Aug 5, 06:50
Unknown Object (File)
Mon, Aug 4, 17:21

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 Not Applicable
Unit
Tests Not Applicable