chore: Update test cases

This commit is contained in:
Deepesh Garg
2022-05-25 20:06:31 +05:30
parent 3fab8a2213
commit 14422eaf59
4 changed files with 11 additions and 1 deletions

View File

@@ -712,7 +712,7 @@ class TestPricingRule(unittest.TestCase):
title="_Test Pricing Rule with Min Qty - 2",
)
si = create_sales_invoice(do_not_submit=True, customer="_Test Customer 1", qty=1, currency="USD")
si = create_sales_invoice(do_not_submit=True, customer="_Test Customer 1", qty=1)
item = si.items[0]
item.stock_qty = 1
si.save()