Skip to content

Commit 777e197

Browse files
ArtemHoruzhenkovalkirilov
authored andcommitted
RI-7316: fix tests
1 parent 0db5b5e commit 777e197

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

redisinsight/api/src/modules/rdi/client/api.rdi.client.spec.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -608,12 +608,6 @@ describe('ApiRdiClient', () => {
608608
});
609609

610610
it('should set dummy authorization headers in dev mode when login is disabled', async () => {
611-
const mockedAccessToken = sign(
612-
{ exp: Math.trunc(Date.now() / 1000) + 3600 },
613-
'test',
614-
);
615-
const expectedAuthorizationHeader = `Bearer ${mockedAccessToken}`;
616-
617611
mockedAxios.post.mockRejectedValueOnce({
618612
status: 404,
619613
});

0 commit comments

Comments
 (0)