Skip to content

Commit

Permalink
Merge PR #530 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Jun 26, 2023
2 parents 3a0d6df + 98d3fb7 commit 52ddc5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vault/tests/test_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def return_context(template, context):
return context

with MockRequest(self.env) as request_mock:
request_mock.render.side_effect = return_context
request_mock.render = return_context
response = self.controller.vault_inbox("")
self.assertIn("error", response)

Expand Down
2 changes: 1 addition & 1 deletion vault_share/tests/test_share.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def return_context(template, context):
return context

with MockRequest(self.env) as request_mock:
request_mock.render.side_effect = return_context
request_mock.render = return_context
controller = main.Controller()

response = controller.vault_share("")
Expand Down

0 comments on commit 52ddc5e

Please sign in to comment.