-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Fix negative transaction total after moving IOU report to a workspace #91079
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
inimaga
merged 11 commits into
Expensify:main
from
trasnake87:fix-iou-negative-amount-90219
Jun 3, 2026
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
37c689e
Fix negative transaction total after moving IOU report to a workspace
trasnake87 4280cb6
Extract shared expense-report sign helper and normalize converted amo…
trasnake87 c2e1d23
Add coverage test for createWorkspaceFromIOUPayment transaction sign …
trasnake87 c20917c
Address review feedback on IOU→expense sign conversion
trasnake87 1d1ee26
Address review: rename helper + simplify negate-amount tests
trasnake87 a52262c
Run prettier on ReportTest after rename
trasnake87 3a0aca7
Assert negated transaction by reading from Onyx in convertIOUReportTo…
trasnake87 a2f977b
Assert convertedAmount negation via the move-IOU action test
trasnake87 544b927
Remove redundant convertedAmount negation test from PolicyTest
trasnake87 c072bca
Keep IOU negation test, drop unnecessary mockFetch.pause()
trasnake87 54ed55e
Remove redundant comment from negate-amounts test
trasnake87 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the explanatory comment above the
transactionsetup in 54ed55e — the test name already describes the expected behavior. I left themockTranslateline itself in place since it's the requiredlocaleTranslateargument used the same way by the othercreateWorkspaceFromIOUPaymenttests above; let me know if you meant a different line.