diff options
| author | Raphael Collet <rco@odoo.com> | 2018-07-23 10:47:19 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2018-08-23 21:38:57 +0200 |
| commit | 2f7c03d9ca5809b65dc6eaa778064668d34fcd2e (patch) | |
| tree | 1d3452d9a127de1396563ab3b5f70de6e2bd5a7f /addons/test_mail/tests/common.py | |
| parent | 7ba9acea188a08a75ab1cd4a7f5f56e0d0f956ef (diff) | |
[IMP] base: add regular user admin as uid 2
User 1 simply becomes a technical user (inactive, no password).
Diffstat (limited to 'addons/test_mail/tests/common.py')
| -rw-r--r-- | addons/test_mail/tests/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/test_mail/tests/common.py b/addons/test_mail/tests/common.py index c7b2e4af8e3..09f81fda7d7 100644 --- a/addons/test_mail/tests/common.py +++ b/addons/test_mail/tests/common.py @@ -31,8 +31,8 @@ class BaseFunctionalTest(common.SavepointCase): 'notification_type': 'email', 'groups_id': [(6, 0, [user_group_employee.id])]}) cls.partner_employee = cls.user_employee.partner_id - cls.user_admin = cls.env.user - cls.partner_admin = cls.user_admin.partner_id + cls.user_admin = cls.env.ref('base.user_admin') + cls.partner_admin = cls.env.ref('base.partner_admin') cls.channel_listen = cls.env['mail.channel'].with_context(cls._quick_create_ctx).create({'name': 'Listener'}) |
