From 2f7c03d9ca5809b65dc6eaa778064668d34fcd2e Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Mon, 23 Jul 2018 10:47:19 +0200 Subject: [IMP] base: add regular user admin as uid 2 User 1 simply becomes a technical user (inactive, no password). --- addons/hr_contract/tests/test_auto_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/hr_contract/tests') 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): -- cgit v1.2.3