From: Tim Otten Date: Sat, 23 Jan 2016 00:24:30 +0000 (-0800) Subject: CRM-17860 - CRM_Financial_Page_AjaxTest - Work with wellformed CIVICRM_UF_BASEURL X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=31ea45d99916898cd95320ca4504b36d8b8cff2b;p=civicrm-core.git CRM-17860 - CRM_Financial_Page_AjaxTest - Work with wellformed CIVICRM_UF_BASEURL --- 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","