From 0fb6a394915591ac828c364bffe40e01419e4c5e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 17 Mar 2025 19:40:24 +0100 Subject: ✨ administrative act: intented to is now many (refs #6210) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_operations/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations/tests.py') 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() -- cgit v1.2.3