static function Braintree_SubscriptionTestHelper::trialPlan in Commerce Braintree 7
16 calls to Braintree_SubscriptionTestHelper::trialPlan()
- Braintree_SubscriptionSearchTest::testSearch_inTrialPeriod in braintree_php/
tests/ integration/ SubscriptionSearchTest.php - Braintree_SubscriptionSearchTest::testSearch_nextBillingDate in braintree_php/
tests/ integration/ SubscriptionSearchTest.php - Braintree_SubscriptionSearchTest::testSearch_planIdIs in braintree_php/
tests/ integration/ SubscriptionSearchTest.php - Braintree_SubscriptionTest::testCreate_alterPlanTrialPeriod in braintree_php/
tests/ integration/ SubscriptionTest.php - Braintree_SubscriptionTest::testCreate_doesNotCreateTransactionIfTrialPeriod in braintree_php/
tests/ integration/ SubscriptionTest.php
File
- braintree_php/
tests/ integration/ SubscriptionTestHelper.php, line 29
Class
Code
static function trialPlan() {
return array(
'description' => 'Plan for integration tests -- with trial',
'id' => 'integration_trial_plan',
'numberOfBillingCycles' => 12,
'price' => '43.21',
'trial_period' => true,
'trial_duration' => 2,
'trial_duration_unit' => 'day',
);
}