From d751e9f0ce94668f46d990e3189949acd431c2d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20G=C3=B3mez?= Date: Tue, 30 Jul 2024 17:53:24 +0200 Subject: [PATCH] Update src/routes/accounts/counterfactual-safes/counterfactual-safes.controller.spec.ts Co-authored-by: Aaron Cook --- .../counterfactual-safes.controller.spec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/routes/accounts/counterfactual-safes/counterfactual-safes.controller.spec.ts b/src/routes/accounts/counterfactual-safes/counterfactual-safes.controller.spec.ts index 402495b71a..a5cd9604d7 100644 --- a/src/routes/accounts/counterfactual-safes/counterfactual-safes.controller.spec.ts +++ b/src/routes/accounts/counterfactual-safes/counterfactual-safes.controller.spec.ts @@ -541,10 +541,7 @@ describe('CounterfactualSafesController', () => { .with('chain_id', chain.chainId) .with('signer_address', address) .build(); - const accessToken = jwtService.sign({ - ...authPayloadDto, - exp: faker.date.past(), - }); + const accessToken = jwtService.sign(authPayloadDto); await request(app.getHttpServer()) .put(`/v1/accounts/${address}/storage/counterfactual-safes`)