diff --git a/django_mongodb/features.py b/django_mongodb/features.py index ce3ea29eb..d0e6aac45 100644 --- a/django_mongodb/features.py +++ b/django_mongodb/features.py @@ -85,6 +85,9 @@ class DatabaseFeatures(BaseDatabaseFeatures): "backends.tests.ThreadTests.test_pass_connection_between_threads", "backends.tests.ThreadTests.test_closing_non_shared_connections", "backends.tests.ThreadTests.test_default_connection_thread_local", + # AddField + "schema.tests.SchemaTests.test_add_indexed_charfield", + "schema.tests.SchemaTests.test_add_unique_charfield", # Add/RemoveIndex "migrations.test_operations.OperationTests.test_add_index", "migrations.test_operations.OperationTests.test_alter_field_with_index", @@ -108,11 +111,9 @@ class DatabaseFeatures(BaseDatabaseFeatures): "schema.tests.SchemaTests.test_alter_int_pk_to_int_unique", "schema.tests.SchemaTests.test_alter_not_unique_field_to_primary_key", "schema.tests.SchemaTests.test_alter_null_to_not_null", - "schema.tests.SchemaTests.test_alter_primary_key_the_same_name", - "schema.tests.SchemaTests.test_autofield_to_o2o", # AlterField (db_index) + "schema.tests.SchemaTests.test_alter_renames_index", "schema.tests.SchemaTests.test_indexes", - "schema.tests.SchemaTests.test_remove_constraints_capital_letters", "schema.tests.SchemaTests.test_remove_db_index_doesnt_remove_custom_indexes", # AlterField (unique) "schema.tests.SchemaTests.test_unique", @@ -544,6 +545,7 @@ def django_test_expected_failures(self): "model_fields.test_jsonfield.TestQuerying.test_nested_key_transform_raw_expression", "queries.tests.Queries1Tests.test_order_by_rawsql", "schema.test_logging.SchemaLoggerTests.test_extra_args", + "schema.tests.SchemaTests.test_remove_constraints_capital_letters", "timezones.tests.LegacyDatabaseTests.test_cursor_execute_accepts_naive_datetime", "timezones.tests.LegacyDatabaseTests.test_cursor_execute_returns_naive_datetime", "timezones.tests.LegacyDatabaseTests.test_raw_sql", @@ -628,6 +630,7 @@ def django_test_expected_failures(self): "introspection.tests.IntrospectionTests.test_get_primary_key_column", }, "MongoDB can't introspect primary key.": { + "schema.tests.SchemaTests.test_alter_primary_key_the_same_name", "schema.tests.SchemaTests.test_primary_key", }, "Known issue querying JSONField.": {