From a54ad7cef4a9b89153d80cdfea9a928efff315aa Mon Sep 17 00:00:00 2001 From: Alexander Friedland Date: Fri, 22 Apr 2022 11:40:25 +0200 Subject: [PATCH] Update frontend/src/components/TransactionLinks/TransactionLink.spec.js Co-authored-by: Moriz Wahl --- .../src/components/TransactionLinks/TransactionLink.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TransactionLinks/TransactionLink.spec.js b/frontend/src/components/TransactionLinks/TransactionLink.spec.js index a86ff665c..b856618a7 100644 --- a/frontend/src/components/TransactionLinks/TransactionLink.spec.js +++ b/frontend/src/components/TransactionLinks/TransactionLink.spec.js @@ -62,7 +62,7 @@ describe('TransactionLink', () => { beforeEach(async () => { jest.clearAllMocks() await wrapper.setProps({ - validUntil: '2022-05-30T14:22:40.000Z', + validUntil: new Date(now.getFullYear(), now.getMonth(), now.getDate() + 2), }) })