diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index a6f713e321..7b2608936d 100644 --- a/tests/migrations/test_operations.py +++ b/tests/migrations/test_operations.py @@ -1105,7 +1105,7 @@ class OperationTests(OperationTestBase): ]) self.assertTableExists("test_rmflmmwt_ponystables") - operations = [migrations.RemoveField("Pony", "stables")] + operations = [migrations.RemoveField("Pony", "stables"), migrations.DeleteModel("PonyStables")] self.apply_operations("test_rmflmmwt", project_state, operations=operations) def test_remove_field(self):