X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FWebTest%2FContact%2FSignatureTest.php;h=5967bc590a4b0e38b70a4c1c5cc927e57bc1733a;hb=34b568c4f00791aa48c724b9c1e7bba247e80930;hp=157c42483abea566fdce65b96876ed5cc10b7e9b;hpb=9c41996008a0cb938cd30d8996cdec462c6a61a7;p=civicrm-core.git diff --git a/tests/phpunit/WebTest/Contact/SignatureTest.php b/tests/phpunit/WebTest/Contact/SignatureTest.php index 157c42483a..5967bc590a 100644 --- a/tests/phpunit/WebTest/Contact/SignatureTest.php +++ b/tests/phpunit/WebTest/Contact/SignatureTest.php @@ -1,7 +1,7 @@ webtestLogin(); $this->openCiviPage('dashboard', 'reset=1', 'crm-recently-viewed'); @@ -93,7 +93,7 @@ class WebTest_Contact_SignatureTest extends CiviSeleniumTestCase { /** * Test Signature in CKEditor. */ - function testCKEditor() { + public function testCKEditor() { $this->webtestLogin(); $this->openCiviPage('dashboard', 'reset=1', 'crm-recently-viewed'); @@ -144,7 +144,7 @@ class WebTest_Contact_SignatureTest extends CiviSeleniumTestCase { /** * Helper function to select Editor. */ - function _selectEditor($editor) { + public function _selectEditor($editor) { $this->openCiviPage('admin/setting/preferences/display', 'reset=1'); // Change editor if not already selected @@ -159,7 +159,7 @@ class WebTest_Contact_SignatureTest extends CiviSeleniumTestCase { /** * Helper function for Check Signature in Editor. */ - function _checkSignature($fieldName, $signature, $editor) { + public function _checkSignature($fieldName, $signature, $editor) { if ($editor == 'CKEditor') { $this->waitForElementPresent("xpath=//div[@id='cke_{$fieldName}']//iframe"); $this->selectFrame("xpath=//div[@id='cke_{$fieldName}']//iframe"); @@ -175,7 +175,7 @@ class WebTest_Contact_SignatureTest extends CiviSeleniumTestCase { /** * Helper function for Check Signature in Activity. */ - function _checkActivity($subject, $signature) { + public function _checkActivity($subject, $signature) { $this->openCiviPage('activity/search', 'reset=1', '_qf_Search_refresh'); $this->type('activity_subject', $subject); @@ -189,4 +189,3 @@ class WebTest_Contact_SignatureTest extends CiviSeleniumTestCase { $this->assertTextPresent($signature); } } -