Skip to content

Commit

Permalink
I missed one test
Browse files Browse the repository at this point in the history
  • Loading branch information
pecanoro committed Feb 4, 2025
1 parent 9fc6280 commit f88c5b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/ModifiedExpenseMessageTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ describe('ModifiedExpenseMessage', () => {
};

it('then the message says the distance is changed and shows the new and old merchant and amount', () => {
const expectedResult = `changed the distance to ${reportAction.originalMessage.merchant} (previously ${reportAction.originalMessage.oldMerchant}), which updated the amount to $6.70 (previously $0.67)`;
const expectedResult = `changed the distance to ${reportAction.originalMessage.merchant} (previously ${reportAction.originalMessage.oldMerchant}), which updated the amount to $7.00 (previously $0.70)`;
const result = ModifiedExpenseMessage.getForReportAction(report.reportID, reportAction);
expect(result).toEqual(expectedResult);
});
Expand All @@ -395,7 +395,7 @@ describe('ModifiedExpenseMessage', () => {
};

it('then the message says the rate is changed and shows the new and old merchant and amount', () => {
const expectedResult = `changed the rate to ${reportAction.originalMessage.merchant} (previously ${reportAction.originalMessage.oldMerchant}), which updated the amount to $55.80 (previously $37.76)`;
const expectedResult = `changed the rate to ${reportAction.originalMessage.merchant} (previously ${reportAction.originalMessage.oldMerchant}), which updated the amount to $55.80 (previously $39.45)`;
const result = ModifiedExpenseMessage.getForReportAction(report.reportID, reportAction);
expect(result).toEqual(expectedResult);
});
Expand Down

0 comments on commit f88c5b2

Please sign in to comment.