From 017e6fa9ffda05d2c5e118c7508a2bfd424d2ded Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Mon, 12 Feb 2024 15:44:14 +0100 Subject: [PATCH] fix: requirement assessments api tests after updating read serializer --- backend/app_tests/api/test_api_requirement_assessments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app_tests/api/test_api_requirement_assessments.py b/backend/app_tests/api/test_api_requirement_assessments.py index 2f6d59e11..9aace25a6 100644 --- a/backend/app_tests/api/test_api_requirement_assessments.py +++ b/backend/app_tests/api/test_api_requirement_assessments.py @@ -113,7 +113,7 @@ def test_get_requirement_assessments(self, authenticated_client): }, { "folder": str(folder.id), - "compliance_assessment": str(compliance_assessment.id), + "compliance_assessment": {"id": str(compliance_assessment.id), "str": compliance_assessment.name}, "requirement": str(RequirementNode.objects.all()[0].id), }, -1,