diff --git a/tests/scenario_project_invoice_effort.rst b/tests/scenario_project_invoice_effort.rst index 99e3337043..78a5e267cd 100644 --- a/tests/scenario_project_invoice_effort.rst +++ b/tests/scenario_project_invoice_effort.rst @@ -33,7 +33,6 @@ Create project user:: >>> project_user = User() >>> project_user.name = 'Project' >>> project_user.login = 'project' - >>> project_user.main_company = company >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> timesheet_group, = Group.find([('name', '=', 'Timesheet Administration')]) >>> project_user.groups.extend([project_group, timesheet_group]) @@ -44,7 +43,6 @@ Create project invoice user:: >>> project_invoice_user = User() >>> project_invoice_user.name = 'Project Invoice' >>> project_invoice_user.login = 'project_invoice' - >>> project_invoice_user.main_company = company >>> project_invoice_group, = Group.find([('name', '=', 'Project Invoice')]) >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> project_invoice_user.groups.extend( diff --git a/tests/scenario_project_invoice_progress.rst b/tests/scenario_project_invoice_progress.rst index efff33e49a..1b043b9f02 100644 --- a/tests/scenario_project_invoice_progress.rst +++ b/tests/scenario_project_invoice_progress.rst @@ -33,7 +33,6 @@ Create project user:: >>> project_user = User() >>> project_user.name = 'Project' >>> project_user.login = 'project' - >>> project_user.main_company = company >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> timesheet_group, = Group.find([('name', '=', 'Timesheet Administration')]) >>> project_user.groups.extend([project_group, timesheet_group]) @@ -44,7 +43,6 @@ Create project invoice user:: >>> project_invoice_user = User() >>> project_invoice_user.name = 'Project Invoice' >>> project_invoice_user.login = 'project_invoice' - >>> project_invoice_user.main_company = company >>> project_invoice_group, = Group.find([('name', '=', 'Project Invoice')]) >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> project_invoice_user.groups.extend( diff --git a/tests/scenario_project_invoice_timesheet.rst b/tests/scenario_project_invoice_timesheet.rst index 8b9ef12b46..298a1ee56c 100644 --- a/tests/scenario_project_invoice_timesheet.rst +++ b/tests/scenario_project_invoice_timesheet.rst @@ -34,7 +34,6 @@ Create project user:: >>> project_user = User() >>> project_user.name = 'Project' >>> project_user.login = 'project' - >>> project_user.main_company = company >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> timesheet_group, = Group.find([('name', '=', 'Timesheet Administration')]) >>> project_user.groups.extend([project_group, timesheet_group]) @@ -45,7 +44,6 @@ Create project invoice user:: >>> project_invoice_user = User() >>> project_invoice_user.name = 'Project Invoice' >>> project_invoice_user.login = 'project_invoice' - >>> project_invoice_user.main_company = company >>> project_invoice_group, = Group.find([('name', '=', 'Project Invoice')]) >>> project_group, = Group.find([('name', '=', 'Project Administration')]) >>> project_invoice_user.groups.extend(