Fix the test stripe to suppor trial properties.
This commit is contained in:
parent
3d564b02bd
commit
44e514f49f
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ class FakeStripe(object):
|
|||
'plan': FAKE_PLAN,
|
||||
'current_period_start': timegm(datetime.now().utctimetuple()),
|
||||
'current_period_end': timegm((datetime.now() + timedelta(days=30)).utctimetuple()),
|
||||
'trial_start': timegm(datetime.now().utctimetuple()),
|
||||
'trial_end': timegm((datetime.now() + timedelta(days=30)).utctimetuple()),
|
||||
})
|
||||
|
||||
FAKE_CARD = AttrDict({
|
||||
|
|
Reference in a new issue