fix test condition
This commit is contained in:
parent
7deefd5b2d
commit
bebb3d7a9b
@ -248,9 +248,7 @@ async function testRefundApiWithFulfillmentMessage(
|
|||||||
});
|
});
|
||||||
console.log(publicOrderStatusResp.data);
|
console.log(publicOrderStatusResp.data);
|
||||||
// We didn't give any authentication, so we should get a fulfillment URL back
|
// We didn't give any authentication, so we should get a fulfillment URL back
|
||||||
t.assertTrue(publicOrderStatusResp.status === 202);
|
t.assertTrue(publicOrderStatusResp.status === 403);
|
||||||
const fu = publicOrderStatusResp.data.fulfillment_message;
|
|
||||||
t.assertTrue(typeof fu === "string" && fu.startsWith("Thank you"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user