Skip to content

Commit

Permalink
Fixed tests for new JSON response
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismaddalena committed Sep 23, 2024
1 parent 438c5f2 commit ad0b177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghostwriter/reporting/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ def test_view_requires_login_and_permissions(self):
self.assertEqual(response.status_code, 403)

response = self.client_mgr.post(self.uri)
self.assertEqual(response.status_code, 302)
self.assertEqual(response.status_code, 200)

ProjectAssignmentFactory(operator=self.user, project=self.report.project)
response = self.client_auth.post(self.uri)
self.assertEqual(response.status_code, 302)
self.assertEqual(response.status_code, 200)


class ConvertFindingTests(TestCase):
Expand Down

0 comments on commit ad0b177

Please sign in to comment.