Skip to content

Commit

Permalink
Merge pull request #27609 from allroundexperts/fix-26366
Browse files Browse the repository at this point in the history
[No QA] feat: add unit tests for edit money request and payment via vbba
  • Loading branch information
mountiny authored Oct 23, 2023
2 parents 7bbcda6 + c54734a commit 7b4e898
Show file tree
Hide file tree
Showing 2 changed files with 467 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -1894,17 +1894,17 @@ function editMoneyRequest(transactionID, transactionThreadReportID, transactionC
},
},
{
onyxMethod: Onyx.METHOD.MERGE,
onyxMethod: Onyx.METHOD.SET,
key: `${ONYXKEYS.COLLECTION.TRANSACTION}${transactionID}`,
value: transaction,
},
{
onyxMethod: Onyx.METHOD.MERGE,
onyxMethod: Onyx.METHOD.SET,
key: `${ONYXKEYS.COLLECTION.REPORT}${iouReport.reportID}`,
value: iouReport,
},
{
onyxMethod: Onyx.METHOD.MERGE,
onyxMethod: Onyx.METHOD.SET,
key: `${ONYXKEYS.COLLECTION.REPORT}${iouReport.chatReportID}`,
value: chatReport,
},
Expand Down
Loading

0 comments on commit 7b4e898

Please sign in to comment.