From a620adebdc0c9c7a574cfce36387221fd0e59536 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 23 Sep 2017 08:23:30 +1000 Subject: [PATCH] CRM-21217 fix issues preventing E2E tests running for backdrop --- CRM/Utils/System/Backdrop.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Utils/System/Backdrop.php b/CRM/Utils/System/Backdrop.php index 2305402c5d..a66fbf6549 100644 --- a/CRM/Utils/System/Backdrop.php +++ b/CRM/Utils/System/Backdrop.php @@ -334,7 +334,7 @@ class CRM_Utils_System_Backdrop extends CRM_Utils_System_DrupalBase { // SOAP cannot load Backdrop bootstrap and hence we do it the old way // Contact CiviSMTP folks if we run into issues with this :) $cmsPath = $this->cmsRootPath(); - + define(BACKDROP_ROOT, $cmsPath); require_once "$cmsPath/core/includes/bootstrap.inc"; require_once "$cmsPath/core/includes/password.inc"; @@ -527,6 +527,7 @@ AND u.status = 1 } } require_once "$cmsPath/core/includes/bootstrap.inc"; + require_once "$cmsPath/core/includes/config.inc"; backdrop_bootstrap(BACKDROP_BOOTSTRAP_FULL); // Explicitly setting error reporting, since we cannot handle Backdrop -- 2.25.1