Skip to content

Commit

Permalink
#fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-oerp committed Mar 27, 2024
1 parent 0be60ca commit 9bf1e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_favicon/tests/test_web_favicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_02_default_favicon_creation(self):
def test_03_get_favicon_returns_false(self):
"""Test if _get_favicon() returns False when certain conditions are not met."""
Company = self.env["res.company"].create({"name": "Company for Testing"})
with MockRequest(self.env) as mock_request:
with MockRequest(self.env):
# Call _get_favicon() without company id to trigger the condition
self.assertFalse(
Company._get_favicon(),
Expand Down

0 comments on commit 9bf1e95

Please sign in to comment.