Skip to content

Commit

Permalink
[PRDP-328] fix: Fixed typo in int test (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
svariant authored Jan 12, 2024
1 parent 2e2b234 commit d158c80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ Then('the receipt has not the status {string}', function (targetStatus) {
Then("the receipt has not a datastore reason error message", function(){
let receiptResponse = this.responseToCheck.resources[0];
if(receiptResponse?.reasonErr.message){
let booleanResponseErr = receiptResponse.reasonErr.message.includes("BizEventToReceiptService") || !receiptResponse?.event?.mount;
let booleanResponseErr = receiptResponse.reasonErr.message.includes("BizEventToReceiptService") || !receiptResponse?.eventData?.amount;

assert.strictEqual(booleanResponseErr, false);
}
Expand Down

0 comments on commit d158c80

Please sign in to comment.