Fix for tests

This commit is contained in:
Hillel Coren 2016-12-06 20:05:55 +02:00
parent 3f29027ec2
commit d7ac1cd33b

View File

@ -30,9 +30,11 @@ class StartupCheck
*/ */
public function handle(Request $request, Closure $next) public function handle(Request $request, Closure $next)
{ {
if (!defined('CONTACT_EMAIL')) {
define('CONTACT_EMAIL', config('mail.from.address')); define('CONTACT_EMAIL', config('mail.from.address'));
define('CONTACT_NAME', config('mail.from.name')); define('CONTACT_NAME', config('mail.from.name'));
define('SITE_URL', config('app.url')); define('SITE_URL', config('app.url'));
}
// Set up trusted X-Forwarded-Proto proxies // Set up trusted X-Forwarded-Proto proxies
// TRUSTED_PROXIES accepts a comma delimited list of subnets // TRUSTED_PROXIES accepts a comma delimited list of subnets