Skip to content

Commit f46ca57

Browse files
committed
fix: use sudo for config parameter access
1 parent 1076f3b commit f46ca57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

g2p_openid_vci_programs/tests/test_vci_programs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class TestVCIIssuerProgram(TransactionCase):
1717
def setUp(self):
1818
super().setUp()
19-
self.env["ir.config_parameter"].set_param("web.base.url", "http://openg2p.local")
19+
self.env["ir.config_parameter"].sudo().set_param("web.base.url", "http://openg2p.local")
2020
self.id_type = self.env["g2p.id.type"].create(
2121
{
2222
"name": "NATIONAL ID",

0 commit comments

Comments
 (0)