fix: conflict
This commit is contained in:
@@ -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},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user