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)
Fri, Oct 24, 14:21
Unknown Object (File)
Sat, Oct 18, 16:03
Unknown Object (File)
Sat, Oct 18, 13:18
Unknown Object (File)
Fri, Oct 17, 01:54
Unknown Object (File)
Thu, Oct 16, 06:16
Unknown Object (File)
Wed, Oct 15, 09:07
Unknown Object (File)
Sat, Oct 11, 04:28
Unknown Object (File)
Fri, Oct 10, 08:09

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