From 31ea45d99916898cd95320ca4504b36d8b8cff2b Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 22 Jan 2016 16:24:30 -0800 Subject: [PATCH] CRM-17860 - CRM_Financial_Page_AjaxTest - Work with wellformed CIVICRM_UF_BASEURL --- tests/phpunit/CRM/Financial/Page/AjaxTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/CRM/Financial/Page/AjaxTest.php b/tests/phpunit/CRM/Financial/Page/AjaxTest.php index d733ac9004..2fa647885e 100644 --- a/tests/phpunit/CRM/Financial/Page/AjaxTest.php +++ b/tests/phpunit/CRM/Financial/Page/AjaxTest.php @@ -48,6 +48,7 @@ class CRM_Financial_Page_AjaxTest extends CiviUnitTestCase { $_REQUEST['entityID'] = $batch['id']; $_REQUEST['return'] = TRUE; $json = CRM_Financial_Page_AJAX::getFinancialTransactionsList(); + $json = str_replace(rtrim(CIVICRM_UF_BASEURL, '/'), 'http://FIX ME', $json); $this->assertEquals($json, '{"sEcho": 1, "iTotalRecords": 1, "iTotalDisplayRecords": 1, "aaData": [ ["","","Anderson, Anthony","$ 100.00","12345","' . CRM_Utils_Date::customFormat(date('Ymd')) . ' 12:00 AM",' . '"Credit Card","Completed","Donation","