diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index ce524fa9ee..5aee55fe02 100644 --- a/tests/migrations/test_operations.py +++ b/tests/migrations/test_operations.py @@ -1512,6 +1512,7 @@ class SwappableOperationTests(OperationTestBase): available_apps = [ "migrations", "django.contrib.auth", + "django.contrib.contenttypes", ] @override_settings(TEST_SWAP_MODEL="migrations.SomeFakeModel")