Update tests
This updates some purchase order unit tests to account for the addition
of `workflow_status` as a field on the `CreatePoPayload` message.
@@ -551,6 +551,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())
.build()
.expect("Unable to build CreatePurchaseOrderPayload");
@@ -575,6 +576,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())
.build()
.expect("Unable to build CreatePurchaseOrderPayload");
@@ -597,6 +599,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())
.build()
.expect("Unable to build CreatePurchaseOrderPayload");
@@ -621,6 +624,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())
.build()
.expect("Unable to build CreatePurchaseOrderPayload");
@@ -648,6 +652,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())
.build()
.expect("Unable to build CreatePurchaseOrderPayload");
if let Err(err) =
