Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelianhan007 committed Nov 20, 2024
1 parent 65a5437 commit 6e7bc2b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"product": "${mefRequestBody.quoteItem[0].product}",
"action": "add",
"id": "${mefRequestBody.quoteItem[0].id}",
"state": "((mefResponseBody.quoteItem[0].quoteItemPrice[0].price.dutyFreeAmount.value==''?'unableToProvide':'approved.orderable'))",
"state": "(((mefResponseBody.quoteItem[0].quoteItemPrice[0].price.dutyFreeAmount.value=='')or(T(java.lang.Double).parseDouble(mefResponseBody.quoteItem[0].quoteItemPrice[0].price.dutyFreeAmount.value)<0)?'unableToProvide':'approved.orderable'))",
"quoteItemTerm": "${T(java.util.Arrays).asList(mefRequestBody.quoteItem[0].requestedQuoteItemTerm)}",
"quoteItemPrice": [
{
Expand Down Expand Up @@ -37,5 +37,5 @@
"instantSyncQuote": "${mefRequestBody[instantSyncQuote]?:''}",
"requestedQuoteCompletionDate": "${mefRequestBody[requestedQuoteCompletionDate]?:''}",
"quoteLevel": "${mefRequestBody.buyerRequestedQuoteLevel}",
"state": "((mefResponseBody.quoteItem[0].quoteItemPrice[0].price.dutyFreeAmount.value==''?'unableToProvide':'approved.orderable'))"
"state": "(((mefResponseBody.quoteItem[0].quoteItemPrice[0].price.dutyFreeAmount.value=='')or(T(java.lang.Double).parseDouble(mefResponseBody.quoteItem[0].quoteItemPrice[0].price.dutyFreeAmount.value)<0)?'unableToProvide':'approved.orderable'))"
}

0 comments on commit 6e7bc2b

Please sign in to comment.