summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-14 19:46:50 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-14 19:46:50 +0200
commit673e5dd34784e8a628ef01bea7799c45d8090bac (patch)
treef131d19caa3c26f21394662761bd866b02c3a280
parent5ca7407d99b07694fd5facf612f3d2c8562c000b (diff)
downloadIshtar-673e5dd34784e8a628ef01bea7799c45d8090bac.tar.bz2
Ishtar-673e5dd34784e8a628ef01bea7799c45d8090bac.zip
Fix creation wizard test
-rw-r--r--archaeological_context_records/tests.py1
-rw-r--r--archaeological_finds/tests.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_context_records/tests.py b/archaeological_context_records/tests.py
index 36f73884a..0ffe04c3a 100644
--- a/archaeological_context_records/tests.py
+++ b/archaeological_context_records/tests.py
@@ -855,6 +855,7 @@ class ContextRecordWizardCreationTest(WizardTest, ContextRecordInit, TestCase):
steps = views.record_creation_steps
redirect_url = "/record_modification/selec-record_modification"\
"?open_item={last_id}"
+ model = models.ContextRecord
form_datas = [
FormData(
"Create a simple context record",
diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py
index 76e6764b2..178a5f035 100644
--- a/archaeological_finds/tests.py
+++ b/archaeological_finds/tests.py
@@ -338,7 +338,8 @@ class TreatmentWizardCreationTest(WizardTest, FindInit, TestCase):
wizard_name = 'treatment_wizard'
steps = views.treatment_wizard_steps
redirect_url = "/treatment_search/general-treatment_search?" \
- "open_item={last_id}"
+ "open_item={last_id}"
+ model = models.Treatment
form_datas = [
FormData(
'Move treatment (planned)',