fix: tests depending on global default company

This commit is contained in:
Saqib Ansari
2020-04-14 19:40:25 +05:30
parent b52cd59dc3
commit 1f20c99ecf
21 changed files with 72 additions and 64 deletions

View File

@@ -43,6 +43,7 @@ class TestMapper(unittest.TestCase):
qtn = frappe.get_doc({
"doctype": "Quotation",
"quotation_to": "Customer",
"company": "_Test Company",
"party_name": customer,
"order_type": "Sales",
"transaction_date" : nowdate(),
@@ -59,6 +60,7 @@ class TestMapper(unittest.TestCase):
"base_amount": 1000.0,
"base_rate": 100.0,
"description": "CPU",
"company": "_Test Company",
"doctype": "Sales Order Item",
"item_code": "_Test Item Home Desktop 100",
"item_name": "CPU",