Use correct variable name ADD_TRIAL_PERIOD_TO_SUBSCRIPTION
This commit is contained in:
parent
9b3e292598
commit
494d68bb47
4 changed files with 5 additions and 5 deletions
|
|
@ -120,7 +120,7 @@ class CeleryTaskTestCase(TestCase):
|
|||
stripe_customer.stripe_id,
|
||||
[{"plan": stripe_plan.get(
|
||||
'response_object').stripe_plan_id}],
|
||||
int(datetime.datetime.now().timestamp()) + 300 if settings.ADD_5MIN_TRIAL_TO_SUBSCRIPTION else None)
|
||||
int(datetime.datetime.now().timestamp()) + 300 if settings.ADD_TRIAL_PERIOD_TO_SUBSCRIPTION else None)
|
||||
stripe_subscription_obj = subscription_result.get('response_object')
|
||||
# Check if the subscription was approved and is active
|
||||
if stripe_subscription_obj is None \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue