summaryrefslogtreecommitdiff
path: root/archaeological_operations/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/tests.py')
-rw-r--r--archaeological_operations/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py
index f48048eec..57e71b256 100644
--- a/archaeological_operations/tests.py
+++ b/archaeological_operations/tests.py
@@ -4053,7 +4053,7 @@ class LabelTest(TestCase, OperationInitTest):
def create_administrativact(user, operation):
act_type, created = models.ActType.objects.get_or_create(
- txt_idx="act_type_O", intented_to="O"
+ txt_idx="act_type_O", intented_to_operation=True
)
dct = {
"history_modifier": user,
@@ -4511,7 +4511,7 @@ class OperationAdminActWizardCreationTest(WizardTest, OperationInitTest, TestCas
data = self.form_datas[0].form_datas
data["selec-operation_administrativeactop"]["pk"] = ope.pk
- act = models.ActType.objects.filter(intented_to="O").all()[0].pk
+ act = models.ActType.objects.filter(intented_to_operation=True).all()[0].pk
data["administrativeact-operation_administrativeactop"]["act_type"] = act
super(OperationAdminActWizardCreationTest, self).pre_wizard()