From b119f959d4b74044b9483d1a752c9dadeee3205d Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko1 Date: Mon, 6 Nov 2023 18:23:08 +0200 Subject: [PATCH] UIIN-2647: Fix test --- src/ViewInstance.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ViewInstance.test.js b/src/ViewInstance.test.js index 91a968489..c8c51c36d 100644 --- a/src/ViewInstance.test.js +++ b/src/ViewInstance.test.js @@ -298,6 +298,7 @@ describe('ViewInstance', () => { it('should show a correct Warning message banner when instance sharing is in progress', async () => { defaultProp.mutator.shareInstance.POST.mockResolvedValue({}); + defaultProp.mutator.authorities.GET.mockResolvedValueOnce({ authorities: [] }); checkIfUserInMemberTenant.mockClear().mockReturnValue(true); renderViewInstance({ isShared: false });