Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MagdaN committed Mar 16, 2022
1 parent 1a973e1 commit c7c8f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions legal_advice_builder/tests/test_wizard_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def get_lawcase(self):
answer.answers = answers
answer.save()

data = {'answer_id': answer.id, 'download': 'download'}
data = {'answer_id': answer.id, 'download': 'pdf'}
request = rf.post('/', data)
middleware = SessionMiddleware(dummy_get_response)
middleware.process_request(request)
Expand Down Expand Up @@ -382,7 +382,7 @@ def get_lawcase(self):
lc.allow_download = False
lc.save()

data = {'answer_id': answer.id, 'download': 'download'}
data = {'answer_id': answer.id, 'download': 'pdf'}
request = rf.post('/', data)
middleware = SessionMiddleware(dummy_get_response)
middleware.process_request(request)
Expand Down

0 comments on commit c7c8f26

Please sign in to comment.