diff --git a/dojo/urls.py b/dojo/urls.py index 75a3c166a6..6c74b18a06 100644 --- a/dojo/urls.py +++ b/dojo/urls.py @@ -177,6 +177,7 @@ v2_api.register(r"questionnaire_engagement_questionnaires", QuestionnaireEngagementSurveyViewSet, basename="engagement_survey") v2_api.register(r"questionnaire_general_questionnaires", QuestionnaireGeneralSurveyViewSet, basename="general_survey") v2_api.register(r"questionnaire_questions", QuestionnaireQuestionViewSet, basename="question") +v2_api.register(r"questionnaire_engagement_questionnaires", QuestionnaireEngagementSurveyViewSet, basename="link_engagement") ur = [] ur += dev_env_urls diff --git a/unittests/test_rest_framework.py b/unittests/test_rest_framework.py index 98b692c69f..99c3444cb7 100644 --- a/unittests/test_rest_framework.py +++ b/unittests/test_rest_framework.py @@ -3003,7 +3003,7 @@ def __init__(self, *args, **kwargs): BaseClass.RESTEndpointTest.__init__(self, *args, **kwargs) -class QuestionnaireEngagementQuestionnairesLinkEngagementTest(BaseClass.BaseClassTest): +class QuestionnaireEngagementQuestionnairesLinkEngagementTest(BaseClass.RESTEndpointTest): fixtures = ["questionnaire_testdata.json"] def __init__(self, *args, **kwargs):