INFRA-132 - Move stray comments into docblocks
[civicrm-core.git] / tests / phpunit / WebTest / Contribute / ConfirmOptionalTest.php
index 40a085d119aa22962e63884a2a2abb22cee36f7f..7330186297e5dce6b548ac2b536b05d359043efe 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -36,7 +36,7 @@ class WebTest_Contribute_ConfirmOptionalTest extends CiviSeleniumTestCase {
     parent::setUp();
   }
 
-  function testWithConfirm() {
+  public function testWithConfirm() {
     $this->_addContributionPage(TRUE);
     $this->_fillOutContributionPage();
 
@@ -51,7 +51,7 @@ class WebTest_Contribute_ConfirmOptionalTest extends CiviSeleniumTestCase {
     $this->assertTrue($this->isTextPresent("Your transaction has been processed successfully"), "Should load thank you page");
   }
 
-  function testWithoutConfirm() {
+  public function testWithoutConfirm() {
     $this->_addContributionPage(FALSE);
     $this->_fillOutContributionPage();
 
@@ -91,7 +91,7 @@ class WebTest_Contribute_ConfirmOptionalTest extends CiviSeleniumTestCase {
       $isPcpApprovalNeeded = FALSE,
       $isSeparatePayment = FALSE,
       $honoreeSection = FALSE,
-      $allowOtherAmmount = TRUE,
+      $allowOtherAmount = TRUE,
       $isConfirmEnabled = $isConfirmEnabled
     );
   }
@@ -111,4 +111,3 @@ class WebTest_Contribute_ConfirmOptionalTest extends CiviSeleniumTestCase {
     $this->waitForPageToLoad($this->getTimeoutMsec());
   }
 }
-