fix: conflict

This commit is contained in:
ljain112
2025-01-15 15:39:48 +05:30
parent a27eac1ef6
commit bdaf3761c0

View File

@@ -3,7 +3,7 @@
import frappe import frappe
from frappe.tests.utils import FrappeTestCase from frappe.tests.utils import FrappeTestCase, change_settings
from frappe.utils.data import ( from frappe.utils.data import (
add_days, add_days,
add_months, add_months,
@@ -470,7 +470,7 @@ class TestSubscription(FrappeTestCase):
currency = frappe.db.get_value("Sales Invoice", subscription.invoices[0].name, "currency") currency = frappe.db.get_value("Sales Invoice", subscription.invoices[0].name, "currency")
self.assertEqual(currency, "USD") self.assertEqual(currency, "USD")
@IntegrationTestCase.change_settings( @change_settings(
"Accounts Settings", "Accounts Settings",
{"allow_multi_currency_invoices_against_single_party_account": 1}, {"allow_multi_currency_invoices_against_single_party_account": 1},
) )