chore: use correct decorator

This commit is contained in:
ruthra kumar
2025-01-23 16:41:36 +05:30
parent 10ee6f3e22
commit 3906e5c33f

View File

@@ -869,9 +869,7 @@ class TestAccountsController(FrappeTestCase):
self.assertEqual(pi.items[0].rate, arms_length_price)
self.assertEqual(pi.items[0].valuation_rate, 100)
@IntegrationTestCase.change_settings(
"Accounts Settings", {"exchange_gain_loss_posting_date": "Reconciliation Date"}
)
@change_settings("Accounts Settings", {"exchange_gain_loss_posting_date": "Reconciliation Date"})
def test_17_gain_loss_posting_date_for_normal_payment(self):
# Sales Invoice in Foreign Currency
rate = 80