Skip to content

Commit

Permalink
switch back to finding - different test uses it
Browse files Browse the repository at this point in the history
  • Loading branch information
hblankenship committed Apr 19, 2024
1 parent b627368 commit 23766b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dojo/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
v2_api.register(r'engagements', EngagementViewSet)
v2_api.register(r'development_environments', DevelopmentEnvironmentViewSet)
v2_api.register(r'finding_templates', FindingTemplatesViewSet)
v2_api.register(r'findings', FindingViewSet, basename='findings')
v2_api.register(r'findings', FindingViewSet, basename='finding')
v2_api.register(r'jira_configurations', JiraInstanceViewSet) # backwards compatibility
v2_api.register(r'jira_instances', JiraInstanceViewSet)
v2_api.register(r'jira_finding_mappings', JiraIssuesViewSet)
Expand Down
2 changes: 1 addition & 1 deletion unittests/test_apiv2_limit_reqresp.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def setUp(self: object):

def assertReqrespValue(self: object, value: int, expect_notequal: bool = False) -> None:
settings.MAX_REQRESP_FROM_API = value
r = self.client.get(reverse('findings-list'), format='json')
r = self.client.get(reverse('finding-list'), format='json')
results = r.json()['results']
# get finding with id 7
finding = self.getFinding(7, results)
Expand Down

0 comments on commit 23766b5

Please sign in to comment.