mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-09 16:12:53 +00:00
fix: subscription test case (#23617)
This commit is contained in:
@@ -210,6 +210,7 @@ class TestSubscription(unittest.TestCase):
|
|||||||
subscription.customer = '_Test Customer'
|
subscription.customer = '_Test Customer'
|
||||||
subscription.append('plans', {'plan': '_Test Plan Name', 'qty': 1})
|
subscription.append('plans', {'plan': '_Test Plan Name', 'qty': 1})
|
||||||
subscription.start = '2018-01-01'
|
subscription.start = '2018-01-01'
|
||||||
|
subscription.days_until_due = 1
|
||||||
subscription.insert()
|
subscription.insert()
|
||||||
subscription.process() # generate first invoice
|
subscription.process() # generate first invoice
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user