rename test functions to make them easier to filter on
authorEileen McNaughton <eileen@fuzion.co.nz>
Wed, 24 Jun 2015 12:33:21 +0000 (00:33 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Wed, 24 Jun 2015 12:51:54 +0000 (00:51 +1200)
tests/phpunit/api/v3/ContributionPageTest.php

index 75f82eb0867a4ea8fa110046e287c6727b2aad06..cc2ee1ae5fd363cb61ad44b1b613dc355b876263 100644 (file)
@@ -225,8 +225,10 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
 
   /**
    * Test submit with a membership block in place.
+   *
+   * We are expecting a separate payment for the membership vs the contribution.
    */
-  public function testSubmitMembershipBlockIsSeparatePaymentPaymentProcessor() {
+  public function testSubmitMembershipBlockIsSeparatePaymentPaymentProcessorNow() {
     $this->setUpMembershipContributionPage(TRUE);
     $submitParams = array(
       'price_' . $this->_ids['price_field'][0] => reset($this->_ids['price_field_value']),
@@ -288,7 +290,6 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
       'activity_type_id' => 'Failed Payment',
     ));
 
-
   }
 
   /**
@@ -298,7 +299,7 @@ class api_v3_ContributionPageTest extends CiviUnitTestCase {
    * - the first creates a new membership, completed contribution, in progress recurring. Check these
    * - create another - end date should be extended
    */
-  public function testSubmitMembershipPriceSetPaymentPaymentProcessorRecur() {
+  public function testSubmitMembershipPriceSetPaymentPaymentProcessorRecurNow() {
     $this->params['is_recur'] = 1;
     $var = array();
     $this->params['recur_frequency_unit'] = 'month';