mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
refactor(test): use each instance UOM for assertion
(cherry picked from commit cf4fbfb601)
This commit is contained in:
@@ -51,7 +51,7 @@ class TestItemWiseSalesRegister(AccountsTestMixin, FrappeTestCase):
|
|||||||
"company": self.company,
|
"company": self.company,
|
||||||
"income_account": si.items[0].income_account,
|
"income_account": si.items[0].income_account,
|
||||||
"stock_qty": 1.0,
|
"stock_qty": 1.0,
|
||||||
"stock_uom": "Nos",
|
"stock_uom": si.items[0].stock_uom,
|
||||||
"rate": 100.0,
|
"rate": 100.0,
|
||||||
"amount": 100.0,
|
"amount": 100.0,
|
||||||
"total_tax": 0,
|
"total_tax": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user