Skip to content

Commit

Permalink
fix: added default get_response in middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
zubairshakoorarbisoft committed Sep 19, 2023
1 parent 6a7dad6 commit d28d2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enterprise_access/apps/subsidy_request/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_get_user_from_request_session(self):

# Create request with session
request = HttpRequest()
middleware = SessionMiddleware()
middleware = SessionMiddleware(mock.Mock())
middleware.process_request(request)
request.session['_auth_user_id'] = test_user.id
request.session.save()
Expand Down

0 comments on commit d28d2ca

Please sign in to comment.