test: re-enable migration checks (#36655)

the check was disabled:
https://github.com/openedx/edx-enterprise/pull/2338

because we needed to fake a migration:
https://github.com/openedx/edx-enterprise/pull/2383

but that fake migration is now in edx-platform:
https://github.com/openedx/edx-enterprise/pull/2383

so we can re-enable the check.
This commit is contained in:
Jesper Hodge
2025-05-06 11:27:14 -04:00
committed by GitHub
parent 75c4ffc20f
commit 704dd739d9

View File

@@ -1,7 +1,6 @@
"""Tests for util.db module."""
from io import StringIO
import unittest
import ddt
from django.core.management import call_command
@@ -121,7 +120,6 @@ class MigrationTests(TestCase):
Tests for migrations.
"""
@unittest.skip('Skipping temporarily to add a foreign key')
@override_settings(MIGRATION_MODULES={})
def test_migrations_are_in_sync(self):
"""