summaryrefslogtreecommitdiff
path: root/addons/hr_contract/tests
diff options
context:
space:
mode:
Diffstat (limited to 'addons/hr_contract/tests')
-rw-r--r--addons/hr_contract/tests/test_auto_status.py2
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):