Skip to content

Commit

Permalink
UIIN-2647: Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
OleksandrHladchenko1 committed Nov 6, 2023
1 parent c4bf67d commit b119f95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ViewInstance.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit b119f95

Please sign in to comment.