X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FCase%2FCaseCustomFieldsTest.php;h=a99bd5e377c7b228a01682a3b865d8ff0f9a1085;hb=4c16123d9fac77eb6704aefc0b6cf6a91b46a650;hp=ab3da446b2c95d7bf09deaee5c09934b262c6662;hpb=55039e98512c204e7919bd586b9e99ab176e51ea;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php b/tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php index ab3da446b2..a99bd5e377 100644 --- a/tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php +++ b/tests/phpunit/WebTest/Case/CaseCustomFieldsTest.php @@ -1,7 +1,7 @@ webtestLogin('admin'); // Enable CiviCase module if necessary @@ -177,7 +177,7 @@ class WebTest_Case_CaseCustomFieldsTest extends CiviSeleniumTestCase { * * @return array */ - function _testGetCustomFieldId($customGrpId1, $noteRichEditor=FALSE) { + public function _testGetCustomFieldId($customGrpId1, $noteRichEditor=FALSE) { $customId = array(); $this->openCiviPage('admin/custom/group/field/add', array('reset' => 1, 'action' => 'add', 'gid' => $customGrpId1)); @@ -246,9 +246,9 @@ class WebTest_Case_CaseCustomFieldsTest extends CiviSeleniumTestCase { /** * @param $customGrpId1 - * @param int $customId + * @param array $customId */ - function _testDeleteCustomData($customGrpId1, $customId) { + public function _testDeleteCustomData($customGrpId1, $customId) { // delete all custom data foreach ($customId as $cKey => $cValue) { $this->openCiviPage("admin/custom/group/field", array('action' => 'delete', 'reset' => '1', 'gid' => $customGrpId1, 'id' => $cValue)); @@ -263,7 +263,7 @@ class WebTest_Case_CaseCustomFieldsTest extends CiviSeleniumTestCase { /** * CRM-12812 */ - function testCaseCustomNoteRichEditor() { + public function testCaseCustomNoteRichEditor() { $this->webtestLogin('admin'); //setting ckeditor as WYSIWYG @@ -397,7 +397,7 @@ class WebTest_Case_CaseCustomFieldsTest extends CiviSeleniumTestCase { * @param string $custMname * @param $custLname */ - function _testAdvansearchCaseData($customId, $custFname, $custMname, $custLname) { + public function _testAdvansearchCaseData($customId, $custFname, $custMname, $custLname) { // search casecontact $this->openCiviPage('contact/search/advanced', 'reset=1', '_qf_Advanced_refresh'); $this->click("CiviCase"); @@ -413,4 +413,3 @@ class WebTest_Case_CaseCustomFieldsTest extends CiviSeleniumTestCase { $this->assertElementContainsText('crm-container', '1 Contact'); } } -