summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_finds/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py
index 1c30f57b0..ac87abc48 100644
--- a/archaeological_finds/tests.py
+++ b/archaeological_finds/tests.py
@@ -120,7 +120,9 @@ class AFindWizardCreationTest(WizardTest, FindInit, TestCase):
]
def pre_wizard(self):
- cr = self.get_default_context_record(force=True)
+ cr = self.create_context_record(
+ data={'parcel': self.create_parcel()[-1]}, force=True)[-1]
+
self.form_datas[0].form_datas['selecrecord-find_creation']['pk'] = cr.pk
self.find_number = models.Find.objects.count()
self.basefind_number = models.BaseFind.objects.count()