Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F12106961: D255.id600.diff
Sat, Oct 4, 11:31
Unknown Object (File)
Fri, Oct 3, 16:44
Unknown Object (File)
Fri, Oct 3, 05:35
Unknown Object (File)
Thu, Oct 2, 23:18
Unknown Object (File)
Sun, Sep 28, 16:42
Unknown Object (File)
Sat, Sep 27, 15:11
Unknown Object (File)
Fri, Sep 26, 00:07
Unknown Object (File)
Thu, Sep 25, 07:16

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