Commit db3084b4 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Update test to follow up security restrictions

The Owner is not assignee anymore, only the destination_section of the hosting subscription.
parent 44385c2a
......@@ -2749,6 +2749,7 @@ class TestSlapOSCoreSlapOSCloudInteractionWorkflow(SlapOSTestCaseMixin):
sla_xml=self.generateSafeXml(),
shared=True,
)
self.commit()
instance.requestStop(**request_kw)
self.assertEqual(instance.getValidationState(), 'draft')
instance.validate()
......@@ -2981,4 +2982,4 @@ class TestSlapOSCoreSlapOSCloudInteractionWorkflow(SlapOSTestCaseMixin):
instance1.workflow_history['edit_workflow'][-2]['comment'])
self.assertEqual(
None,
instance1.workflow_history['edit_workflow'][-3]['comment'])
instance1.workflow_history['edit_workflow'][-3]['comment'])
\ No newline at end of file
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