diff --git a/tests/migrations/test_operations.py b/tests/migrations/test_operations.py index dd8aff4ca8..3b2bd8275c 100644 --- a/tests/migrations/test_operations.py +++ b/tests/migrations/test_operations.py @@ -1107,7 +1107,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):