Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F6973548: D255.id600.diff
Fri, Apr 18, 11:13
Unknown Object (File)
Thu, Apr 17, 18:46
Unknown Object (File)
Thu, Apr 17, 18:44
Unknown Object (File)
Wed, Apr 16, 17:41
Unknown Object (File)
Wed, Apr 16, 12:01
Unknown Object (File)
Thu, Apr 10, 21:53
Unknown Object (File)
Tue, Apr 1, 22:57
Unknown Object (File)
Wed, Mar 26, 17:56

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