From 98455af8e6f52f1a284f843f9ef9119f66912edd Mon Sep 17 00:00:00 2001
From: Matthias Mair <code@mjmair.com>
Date: Thu, 28 Sep 2023 13:40:54 +0200
Subject: [PATCH] Revert "Disabled exchange rate checks"

This reverts commit 8ed7fbcba5e190d58d7545efbc903e8f72ff1ac7.
---
 InvenTree/InvenTree/tests.py | 5 -----
 InvenTree/common/tests.py    | 4 ----
 2 files changed, 9 deletions(-)

diff --git a/InvenTree/InvenTree/tests.py b/InvenTree/InvenTree/tests.py
index 12d6c97fd8..53f00ebb44 100644
--- a/InvenTree/InvenTree/tests.py
+++ b/InvenTree/InvenTree/tests.py
@@ -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()
 
diff --git a/InvenTree/common/tests.py b/InvenTree/common/tests.py
index ef48462b84..ccf572f23a 100644
--- a/InvenTree/common/tests.py
+++ b/InvenTree/common/tests.py
@@ -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