Skip to content

Commit

Permalink
fix requirement assessments tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexdev8 committed Feb 27, 2024
1 parent c26e14b commit b535796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/app_tests/api/test_api_requirement_assessments.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from rest_framework.status import HTTP_400_BAD_REQUEST
from rest_framework.status import HTTP_403_FORBIDDEN
from rest_framework.test import APIClient
from core.models import (
ComplianceAssessment,
Expand Down Expand Up @@ -161,7 +161,7 @@ def test_create_requirement_assessments(self, test):
},
base_count=-1,
fails=True,
expected_status=HTTP_400_BAD_REQUEST
expected_status=HTTP_403_FORBIDDEN
)

def test_update_requirement_assessments(self, test):
Expand Down

0 comments on commit b535796

Please sign in to comment.