Commit 2157dd0
Fix: Update non-reimbursable badge test to use different managerID
After merging main, canApproveIOU now receives currentUserAccountID
explicitly. The test was setting managerID to RORY_ACCOUNT_ID and
passing the same ID as currentUserAccountID, causing canApproveIOU
to return true and the APPROVE badge to appear. Use a different
managerID so the test isolates the non-reimbursable PAY badge skip
behavior.
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>1 parent 4c47e3e commit 2157dd0
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3682 | 3682 | | |
3683 | 3683 | | |
3684 | 3684 | | |
3685 | | - | |
| 3685 | + | |
| 3686 | + | |
3686 | 3687 | | |
3687 | 3688 | | |
3688 | 3689 | | |
3689 | 3690 | | |
3690 | 3691 | | |
3691 | 3692 | | |
3692 | 3693 | | |
3693 | | - | |
| 3694 | + | |
3694 | 3695 | | |
3695 | 3696 | | |
3696 | 3697 | | |
| |||
0 commit comments