Commit 3acf0159 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: Subscription Request are invalidated after Open Order is created

parent b12323d6
...@@ -583,11 +583,13 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin): ...@@ -583,11 +583,13 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
self.stepCallSlaposSubscriptionRequestCreateFromOrphanedItemAlarm() self.stepCallSlaposSubscriptionRequestCreateFromOrphanedItemAlarm()
self.tic() self.tic()
self.stepCallSlaposSubscriptionRequestValidateSubmittedAlarm()
self.tic()
subscription_request = self.portal.portal_catalog.getResultValue( subscription_request = self.portal.portal_catalog.getResultValue(
portal_type="Subscription Request", portal_type="Subscription Request",
aggregate__uid=service.getUid(), aggregate__uid=service.getUid(),
simulation_state='validated' simulation_state='invalidated'
) )
self.assertNotEqual(subscription_request, None) self.assertNotEqual(subscription_request, None)
......
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