fix: Do not update settings for test

This commit is contained in:
Deepesh Garg 2021-08-11 11:36:49 +05:30
parent 02f44528f2
commit a1f0cebda5

View File

@ -174,13 +174,11 @@ class TestSalesInvoice(unittest.TestCase):
pe.save()
pe.submit()
unlink_payment_on_cancel_of_invoice()
si2.load_from_db()
si2.cancel()
si1.load_from_db()
self.assertRaises(PaymentEntryUnlinkError, si1.cancel)
unlink_payment_on_cancel_of_invoice(0)
def test_sales_invoice_calculation_export_currency(self):