From 329f3f66ba021f07ba82542667d3604348c1809a Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 25 Jun 2015 00:33:21 +1200 Subject: [PATCH] rename test functions to make them easier to filter on --- tests/phpunit/api/v3/ContributionPageTest.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/api/v3/ContributionPageTest.php b/tests/phpunit/api/v3/ContributionPageTest.php index 75f82eb086..cc2ee1ae5f 100644 --- a/tests/phpunit/api/v3/ContributionPageTest.php +++ b/tests/phpunit/api/v3/ContributionPageTest.php @@ -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'; -- 2.25.1