From db8dc8ca1508774585293df844e93ec888836b33 Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Fri, 27 Sep 2024 21:04:09 +0200 Subject: [PATCH] Update compliance assessment API tests --- backend/app_tests/api/test_api_compliance_assessments.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend/app_tests/api/test_api_compliance_assessments.py b/backend/app_tests/api/test_api_compliance_assessments.py index 992fc5b76d..780e713465 100644 --- a/backend/app_tests/api/test_api_compliance_assessments.py +++ b/backend/app_tests/api/test_api_compliance_assessments.py @@ -129,6 +129,7 @@ def test_get_compliance_assessments(self, test): "id": str(Framework.objects.all()[0].id), "str": str(Framework.objects.all()[0]), "implementation_groups_definition": None, + "reference_controls": [], "min_score": 1, "max_score": 4, "ref_id": str(Framework.objects.all()[0].ref_id), @@ -168,6 +169,7 @@ def test_create_compliance_assessments(self, test): "id": str(Framework.objects.all()[0].id), "str": str(Framework.objects.all()[0]), "implementation_groups_definition": None, + "reference_controls": [], "min_score": Framework.objects.all()[0].min_score, "max_score": Framework.objects.all()[0].max_score, "ref_id": str(Framework.objects.all()[0].ref_id), @@ -219,6 +221,7 @@ def test_update_compliance_assessments(self, test): "id": str(Framework.objects.all()[0].id), "str": str(Framework.objects.all()[0]), "implementation_groups_definition": None, + "reference_controls": [], "min_score": Framework.objects.all()[0].min_score, "max_score": Framework.objects.all()[0].max_score, "ref_id": str(Framework.objects.all()[0].ref_id),