Merge pull request #4949 from eileenmcnaughton/minor-tidies
[civicrm-core.git] / tests / phpunit / WebTest / Event / ChangeParticipantStatus.php
index 86322ef4bc0fc40426af5716001c3273366ca19a..dfd694d12d7da54b58c55273434211ea56969dab 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -35,7 +35,7 @@ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase {
     parent::setUp();
   }
 
-  function testParticipationAdd() {
+  public function testParticipationAdd() {
     // Log in using webtestLogin() method
     $this->webtestLogin();
 
@@ -96,9 +96,9 @@ class WebTest_Event_ChangeParticipantStatus extends CiviSeleniumTestCase {
   }
 
   /**
-   * @param $firstName
+   * @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'));
   }
 }
-