From: Rich Lott / Artful Robot Date: Mon, 4 Dec 2023 18:54:39 +0000 (+0000) Subject: standalone: fix failing E2E test due to getting resource base URL X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5ae40871079929c9ad23064fae1dd245a944cde1;p=civicrm-core.git standalone: fix failing E2E test due to getting resource base URL Fixes E2E\Core\PathUrlTest::testPaths_getUrl --- diff --git a/CRM/Utils/System/Standalone.php b/CRM/Utils/System/Standalone.php index 39b870ed4f..b58bcbb3de 100644 --- a/CRM/Utils/System/Standalone.php +++ b/CRM/Utils/System/Standalone.php @@ -387,7 +387,7 @@ class CRM_Utils_System_Standalone extends CRM_Utils_System_Base { } return [ - 'url' => CRM_Utils_File::addTrailingSlash('', '/'), + 'url' => CRM_Utils_File::addTrailingSlash(CIVICRM_UF_BASEURL, '/') . '/core/', 'path' => CRM_Utils_File::addTrailingSlash($civicrm_root), ]; }