Commit b67feeb4 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: switch admin to production manager in tests

parent 3685e30d
......@@ -19,11 +19,11 @@ class TestSlapOSDefaultScenario(DefaultScenarioMixin):
group='company'
).open()
"""
def addProjectComputeNodeManagerAssignment(self, person, project):
def addProjectProductionManagerAssignment(self, person, project):
person.newContent(
portal_type='Assignment',
destination_project_value=project,
function='computer/manager'
function='production/manager'
).open()
def addProjectCustomerAssignment(self, person, project):
......@@ -60,7 +60,7 @@ class TestSlapOSDefaultScenario(DefaultScenarioMixin):
# first slapos administrator assignment can only be created by
# the erp5 manager
self.addProjectComputeNodeManagerAssignment(owner_person, project)
self.addProjectProductionManagerAssignment(owner_person, project)
self.tic()
# hooray, now it is time to create compute_nodes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment