Commit 50bc2bbc authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: switch admin to production manager in tests

parent f6a63891
......@@ -33,11 +33,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):
......@@ -74,7 +74,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