Skip to content

Commit

Permalink
[FIX] Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Anxo82 committed Aug 21, 2024
1 parent 495cf9b commit 63cf408
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website_cookiebot/tests/test_website_cookiebot.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ def test_conf_cookiebot_domain(self):
domain_group_id = "9a9999a9-aa99-9a99-999a-aa999999999a"
config = self.env["res.config.settings"].sudo().create({})
config.write({"cookiebot_dgid": domain_group_id})
config.write({"cookiebot_enabled": True})
config._onchange_cookiebot_enabled()
self.assertTrue(config.cookiebot_enabled)
self.assertFalse(config.website_cookies_bar)
self.assertEqual(config.cookiebot_dgid, domain_group_id)
Expand Down

0 comments on commit 63cf408

Please sign in to comment.