- status judge.

This commit is contained in:
gazebo
2018-08-23 11:51:20 +08:00
parent 1cb266d4d1
commit 5f10f01027
7 changed files with 77 additions and 51 deletions

View File

@@ -38,7 +38,7 @@ func TestCancelWaybill(t *testing.T) {
VendorWaybillID2: "55",
}
c := new(DeliveryHandler)
if err := c.CancelWaybill(bill); err != nil {
if err := c.CancelWaybill(bill, partner.CancelWaybillReasonOther, ""); err != nil {
t.Fatal(err.Error())
}
}