Merge pull request #4949 from eileenmcnaughton/minor-tidies
[civicrm-core.git] / tests / phpunit / WebTest / Event / ChangeParticipantStatus.php
index 9a768ea328b093b8e78b6dca171ee2edc06928b9..dfd694d12d7da54b58c55273434211ea56969dab 100644 (file)
@@ -35,7 +35,7 @@ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase {
     parent::setUp();
   }
 
-  function testParticipationAdd() {
+  public function testParticipationAdd() {
     // Log in using webtestLogin() method
     $this->webtestLogin();
 
@@ -98,7 +98,7 @@ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase {
   /**
    * @param string $firstName
    */
-  function addParticipant($firstName) {
+  public function addParticipant($firstName) {
     $this->openCiviPage("participant/add", "reset=1&action=add&context=standalone", '_qf_Participant_upload-bottom');
 
     // Type contact last name in contact auto-complete, wait for dropdown and click first result
@@ -164,4 +164,3 @@ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase {
     $this->verifyText("xpath=//td[text()='Selections']/following-sibling::td//div/div", preg_quote('Event Total: $ 800.00'));
   }
 }
-