mirror of
https://github.com/bringout/oca-ocb-mail.git
synced 2026-04-23 04:42:04 +02:00
19.0 vanilla
This commit is contained in:
parent
5df8c07b59
commit
daa394e8b0
2114 changed files with 564841 additions and 299642 deletions
|
|
@ -0,0 +1,20 @@
|
|||
from odoo.tests import new_test_user
|
||||
from odoo.tests.common import TransactionCase, tagged
|
||||
|
||||
|
||||
@tagged("post_install", "-at_install")
|
||||
class TestLiveChatResUsers(TransactionCase):
|
||||
|
||||
def test_livechat_create_res_users(self):
|
||||
access_user = new_test_user(
|
||||
self.env,
|
||||
login="admin_access",
|
||||
name="admin_access",
|
||||
groups="base.group_erp_manager,base.group_partner_manager",
|
||||
)
|
||||
access_user.with_user(access_user.id).create({
|
||||
"login": "test_can_be_created",
|
||||
"name": "test_can_be_created",
|
||||
"livechat_username": False,
|
||||
"livechat_lang_ids": [],
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue