From 98d91110f255d925f1649dee1b776a4aeba385f2 Mon Sep 17 00:00:00 2001 From: Ben Millar Date: Tue, 5 Nov 2024 12:06:40 +0000 Subject: [PATCH] Amend tests --- .../apps/call_centre/tests/api/test_eligibility_check_api.py | 1 + .../apps/legalaid/tests/views/mixins/eligibility_check_api.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/cla_backend/apps/call_centre/tests/api/test_eligibility_check_api.py b/cla_backend/apps/call_centre/tests/api/test_eligibility_check_api.py index 094a4465b..17e3b6fd7 100644 --- a/cla_backend/apps/call_centre/tests/api/test_eligibility_check_api.py +++ b/cla_backend/apps/call_centre/tests/api/test_eligibility_check_api.py @@ -35,6 +35,7 @@ def response_keys(self): "state", "specific_benefits", "disregards", + "disregard_selection", "has_passported_proceedings_letter", ] diff --git a/cla_backend/apps/legalaid/tests/views/mixins/eligibility_check_api.py b/cla_backend/apps/legalaid/tests/views/mixins/eligibility_check_api.py index 08db21b70..53cb12eb8 100644 --- a/cla_backend/apps/legalaid/tests/views/mixins/eligibility_check_api.py +++ b/cla_backend/apps/legalaid/tests/views/mixins/eligibility_check_api.py @@ -217,6 +217,7 @@ def test_create_basic_data_with_extras(self): "on_passported_benefits": random.choice([None, True, False]), "specific_benefits": None, "disregards": None, + "disregard_selection": None, } response = self._create(data=data) @@ -235,6 +236,7 @@ def test_create_basic_data_with_extras(self): on_passported_benefits=data["on_passported_benefits"], specific_benefits=None, disregards=None, + disregard_selection=None, ), )