summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/migrations/test_autodetector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/migrations/test_autodetector.py b/tests/migrations/test_autodetector.py
index d9031faca7..7a2f4715fa 100644
--- a/tests/migrations/test_autodetector.py
+++ b/tests/migrations/test_autodetector.py
@@ -155,7 +155,7 @@ class AutodetectorTests(TestCase):
# Make state
before = self.make_project_state([self.author_name])
after = self.make_project_state([self.author_name_renamed])
- autodetector = MigrationAutodetector(before, after)
+ autodetector = MigrationAutodetector(before, after, MigrationQuestioner({"ask_rename": True}))
changes = autodetector.changes()
# Right number of migrations?
self.assertEqual(len(changes['testapp']), 1)