Page MenuHomeDevCentral

Allow phpunit tests to run without .env file
ClosedPublic

Authored by dereckson on Jan 22 2016, 04:48.
Tags
None
Referenced Files
F10872281: D255.id.diff
Sat, Aug 2, 14:20
Unknown Object (File)
Wed, Jul 30, 21:40
Unknown Object (File)
Wed, Jul 30, 12:34
Unknown Object (File)
Wed, Jul 30, 10:15
Unknown Object (File)
Tue, Jul 29, 20:26
Unknown Object (File)
Mon, Jul 28, 01:19
Unknown Object (File)
Wed, Jul 23, 18:28
Unknown Object (File)
Tue, Jul 22, 15:24

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