From e26b586bdd9391a263b01b03f413fb7564867c3e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 12 Dec 2025 16:49:44 +0100 Subject: ✅ fix treatment test (state -> status) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_warehouse/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archaeological_warehouse/tests.py b/archaeological_warehouse/tests.py index 20037909d..ba9c081b6 100644 --- a/archaeological_warehouse/tests.py +++ b/archaeological_warehouse/tests.py @@ -673,13 +673,13 @@ class ContainerQATest(FindInit, TestCase): def init_treatment(find_0): # create a first packaging treatment - treat_state = TreatmentState.get_completed_state() + treat_status = TreatmentStatus.get_completed_state() t = Treatment.objects.create( container=self.container_3, year=2024, start_date=datetime.date(2024, 2, 29), location=self.main_warehouse, - treatment_state=treat_state + treatment_status=treat_status ) treat_type = TreatmentType.objects.get(txt_idx="packaging") t.treatment_types.add(treat_type) -- cgit v1.2.3