Skip to content

Commit

Permalink
Fixes collect multi-namespace refs unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeramysoucy committed Nov 17, 2022
1 parent c9b25b0 commit ae02c50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ describe('collectMultiNamespaceReferences', () => {
expect(mockSecurityExt.checkAuthorization).toHaveBeenCalledTimes(1);
expect(mockSecurityExt.checkAuthorization).toBeCalledWith(
expect.objectContaining({
actions: ['bulk_get'],
actions: new Set(['bulk_get']),
})
);
expect(mockSecurityExt.enforceAuthorization).toHaveBeenCalledTimes(1);
Expand All @@ -600,7 +600,7 @@ describe('collectMultiNamespaceReferences', () => {
expect(mockSecurityExt.checkAuthorization).toHaveBeenCalledTimes(1);
expect(mockSecurityExt.checkAuthorization).toBeCalledWith(
expect.objectContaining({
actions: ['share_to_space'],
actions: new Set(['share_to_space']),
})
);
expect(mockSecurityExt.enforceAuthorization).toHaveBeenCalledTimes(1);
Expand Down

0 comments on commit ae02c50

Please sign in to comment.