Skip to content

Commit

Permalink
Update API tests for compliance assessment
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Sep 27, 2024
1 parent 0b7efbf commit e3115bc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/app_tests/api/test_api_compliance_assessments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit e3115bc

Please sign in to comment.