Skip to content

Commit

Permalink
wip unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jenriordan committed Feb 7, 2025
1 parent 96f1168 commit b21cbbb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class TestDownloadPDFView:
@patch("apply_for_a_licence.views.views_end.BaseDownloadPDFView", return_value=MagicMock())
@patch("apply_for_a_licence.views.views_end.Licence", return_value=MagicMock())
def test_successful_get(self, mock_licence, mock_download):
mock_licence.objects.return_value.get.return_value = MagicMock()
test_reference = "DE1234"
request = RequestFactory().get("?reference=" + test_reference)

Expand Down

0 comments on commit b21cbbb

Please sign in to comment.