mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
chore: use correct decorator
This commit is contained in:
@@ -869,9 +869,7 @@ class TestAccountsController(FrappeTestCase):
|
|||||||
self.assertEqual(pi.items[0].rate, arms_length_price)
|
self.assertEqual(pi.items[0].rate, arms_length_price)
|
||||||
self.assertEqual(pi.items[0].valuation_rate, 100)
|
self.assertEqual(pi.items[0].valuation_rate, 100)
|
||||||
|
|
||||||
@IntegrationTestCase.change_settings(
|
@change_settings("Accounts Settings", {"exchange_gain_loss_posting_date": "Reconciliation Date"})
|
||||||
"Accounts Settings", {"exchange_gain_loss_posting_date": "Reconciliation Date"}
|
|
||||||
)
|
|
||||||
def test_17_gain_loss_posting_date_for_normal_payment(self):
|
def test_17_gain_loss_posting_date_for_normal_payment(self):
|
||||||
# Sales Invoice in Foreign Currency
|
# Sales Invoice in Foreign Currency
|
||||||
rate = 80
|
rate = 80
|
||||||
|
|||||||
Reference in New Issue
Block a user