mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 05:32:46 +01:00
refactor(test): make uae vat audit deterministic
This commit is contained in:
@@ -11,11 +11,11 @@ from erpnext.accounts.doctype.account.test_account import create_account
|
||||
from erpnext.accounts.doctype.purchase_invoice.test_purchase_invoice import make_purchase_invoice
|
||||
from erpnext.accounts.doctype.sales_invoice.test_sales_invoice import create_sales_invoice
|
||||
from erpnext.regional.report.vat_audit_report.vat_audit_report import execute
|
||||
from erpnext.tests.utils import ERPNextTestSuite
|
||||
|
||||
|
||||
class TestVATAuditReport(TestCase):
|
||||
class TestVATAuditReport(ERPNextTestSuite):
|
||||
def setUp(self):
|
||||
frappe.set_user("Administrator")
|
||||
make_company("_Test Company SA VAT", "_TCSV")
|
||||
|
||||
create_account(
|
||||
|
||||
@@ -991,7 +991,14 @@ class ERPNextTestSuite(unittest.TestCase):
|
||||
"country": "United Arab Emirates",
|
||||
"default_currency": "AED",
|
||||
"doctype": "Company",
|
||||
"domain": "Manufacturing",
|
||||
"create_chart_of_accounts_based_on": "Standard Template",
|
||||
},
|
||||
{
|
||||
"abbr": "_TCSV",
|
||||
"company_name": "_Test Company SA VAT",
|
||||
"country": "South Africa",
|
||||
"default_currency": "ZAR",
|
||||
"doctype": "Company",
|
||||
"create_chart_of_accounts_based_on": "Standard Template",
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user