Correct create po test end state
Workflow state was previously ignored and thus the end state did not
matter, but now that workflow state is used to construct the po object
it must follow the workflow restrictions.
@@ -1028,7 +1028,7 @@ mod tests {
.with_created_at(1)
.with_buyer_org_id(ORG_ID_1.to_string())
.with_seller_org_id(ORG_ID_2.to_string())
- .with_workflow_status("proposed".to_string())
+ .with_workflow_status("issued".to_string())
.build()
.expect("Unable to build CreatePurchaseOrderPayload");
if let Err(err) =
