From c063f1133e8476626bedec62b09c9273daf527a2 Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Fri, 8 Apr 2016 14:44:52 +0530 Subject: [PATCH] replace hardcoded base url with CIVICRM_UF_BASEURL --- tests/phpunit/CRM/Group/Page/AjaxTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/CRM/Group/Page/AjaxTest.php b/tests/phpunit/CRM/Group/Page/AjaxTest.php index e4b5ed492d..3d660632c5 100644 --- a/tests/phpunit/CRM/Group/Page/AjaxTest.php +++ b/tests/phpunit/CRM/Group/Page/AjaxTest.php @@ -103,16 +103,16 @@ class CRM_Group_Page_AjaxTest extends CiviUnitTestCase { $params = $this->_params; $groups = CRM_Contact_BAO_Group::getGroupListSelector($params); $this->assertEquals(2, $groups['recordsTotal']); - $this->assertEquals('Contacts', $groups['data'][0]['links']); - $this->assertEquals('Contacts', $groups['data'][1]['links']); + $this->assertEquals('Contacts', $groups['data'][0]['links']); + $this->assertEquals('Contacts', $groups['data'][1]['links']); // as per changes made in PR-6822 $this->setPermissionAndRequest(array('view all contacts', 'edit groups')); $params = $this->_params; $groups = CRM_Contact_BAO_Group::getGroupListSelector($params); $this->assertEquals(2, $groups['recordsTotal']); - $this->assertEquals('ContactsSettingsmore', $groups['data'][0]['links']); - $this->assertEquals('ContactsSettingsmore', $groups['data'][1]['links']); + $this->assertEquals('ContactsSettingsmore', $groups['data'][0]['links']); + $this->assertEquals('ContactsSettingsmore', $groups['data'][1]['links']); } /** -- 2.25.1