Skip to content

Commit

Permalink
test(Expense): use dynamic year
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree committed Jan 2, 2025
1 parent 8538b1e commit 12771f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server/graphql/v2/mutation/ExpenseMutations.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ describe('server/graphql/v2/mutation/ExpenseMutations', () => {
type: 'USER',
},
legalDocument: {
year: 2024,
year: new Date().getFullYear(),
service: 'OPENCOLLECTIVE',
documentLink: null,
documentType: 'US_TAX_FORM',
Expand Down Expand Up @@ -2449,7 +2449,7 @@ describe('server/graphql/v2/mutation/ExpenseMutations', () => {
type: 'USER',
},
legalDocument: {
year: 2024,
year: new Date().getFullYear(),
service: 'OPENCOLLECTIVE',
documentLink: null,
documentType: 'US_TAX_FORM',
Expand Down

0 comments on commit 12771f1

Please sign in to comment.