2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 11:35:41 +00:00

Revert "Disabled exchange rate checks"

This reverts commit 8ed7fbcba5.
This commit is contained in:
Matthias Mair
2023-09-28 13:40:54 +02:00
parent 0d0bedd7b0
commit 98455af8e6
2 changed files with 0 additions and 9 deletions

View File

@ -806,11 +806,6 @@ class CurrencyTests(TestCase):
def test_rates(self):
"""Test exchange rate update."""
# 2023-09-28 check DISABLED due to https://github.com/inventree/InvenTree/issues/5631
# TODO re-enable after #5631 is solved
return True
# Initially, there will not be any exchange rate information
rates = Rate.objects.all()

View File

@ -1026,10 +1026,6 @@ class CurrencyAPITests(InvenTreeAPITestCase):
def test_refresh_endpoint(self):
"""Call the 'refresh currencies' endpoint"""
# 2023-09-28 check DISABLED due to https://github.com/inventree/InvenTree/issues/5631
# TODO re-enable after #5631 is solved
return True
from djmoney.contrib.exchange.models import Rate
# Delete any existing exchange rate data