Commit 5f10102a authored by Romain Courteaud's avatar Romain Courteaud

HostingSubscription_requestUpdateOpenSaleOrder can be called in solved state.

parent 9277c236
...@@ -757,6 +757,13 @@ class TestHostingSubscription_requestUpdateOpenSaleOrder(testSlapOSMixin): ...@@ -757,6 +757,13 @@ class TestHostingSubscription_requestUpdateOpenSaleOrder(testSlapOSMixin):
subscription.HostingSubscription_requestUpdateOpenSaleOrder, subscription.HostingSubscription_requestUpdateOpenSaleOrder,
REQUEST={}) REQUEST={})
def test_solved_HostingSubscription(self):
subscription = self.portal.hosting_subscription_module\
.template_hosting_subscription.Base_createCloneDocument(batch_mode=1)
self.portal.portal_workflow._jumpToStateFor(subscription, 'solved')
subscription.HostingSubscription_requestUpdateOpenSaleOrder()
self.assertEqual(subscription.getCausalityState(), 'solved')
def test_empty_HostingSubscription(self): def test_empty_HostingSubscription(self):
person = self.portal.person_module.template_member\ person = self.portal.person_module.template_member\
.Base_createCloneDocument(batch_mode=1) .Base_createCloneDocument(batch_mode=1)
......
206 207
\ No newline at end of file \ 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