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/hr_contract/tests | |
| 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/hr_contract/tests')
| -rw-r--r-- | addons/hr_contract/tests/test_auto_status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_contract/tests/test_auto_status.py b/addons/hr_contract/tests/test_auto_status.py index efb7de51f9a..580a6d17423 100644 --- a/addons/hr_contract/tests/test_auto_status.py +++ b/addons/hr_contract/tests/test_auto_status.py @@ -10,7 +10,7 @@ class TestHrContracts(TransactionCase): def setUp(self): super(TestHrContracts, self).setUp() self.contracts = self.env['hr.contract'].with_context(tracking_disable=True) - self.employee = self.env.ref('hr.employee_root') + self.employee = self.env.ref('hr.employee_admin') self.test_contract = dict(name='Test', wage=1, employee_id=self.employee.id, state='open') def apply_cron(self): |
