Commit 045610de authored by Łukasz Nowak's avatar Łukasz Nowak

Move to correct state.

Rationale: Hosting Subscription workflow changed.
parent dedb04c2
...@@ -192,6 +192,7 @@ def SlapDocument_migrateSlapState(self): ...@@ -192,6 +192,7 @@ def SlapDocument_migrateSlapState(self):
_jumpToStateFor(slap_document, 'archived', 'hosting_subscription_workflow') _jumpToStateFor(slap_document, 'archived', 'hosting_subscription_workflow')
assert(slap_document.getValidationState() == 'archived') assert(slap_document.getValidationState() == 'archived')
else: else:
_jumpToStateFor(slap_document, 'validated', 'hosting_subscription_workflow')
assert(slap_document.getValidationState() == 'validated') assert(slap_document.getValidationState() == 'validated')
else: else:
if state == 'destroyed' and \ if state == 'destroyed' and \
......
98 99
\ 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