Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 19, 00:23
Unknown Object (File)
Mon, Aug 17, 05:58
Unknown Object (File)
Sun, Aug 16, 23:01
Unknown Object (File)
Sun, Aug 16, 12:27
Unknown Object (File)
Sat, Aug 15, 22:44
Unknown Object (File)
Fri, Aug 14, 12:01
Unknown Object (File)
Thu, Aug 13, 06:11
Unknown Object (File)
Thu, Aug 13, 05:04

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