Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
aidynoJ committed Nov 13, 2024
1 parent 62fe386 commit ec708e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useUserSelfTenantPermissions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ describe('useUserSelfTenantPermissions', () => {
await waitFor(() => !result.current.isLoading);

expect(setHeaderMock).toHaveBeenCalledWith('X-Okapi-Tenant', options.tenantId);
expect(getMock).toHaveBeenCalledWith('users-keycloak/_self?ex', expect.objectContaining({}));
expect(getMock).toHaveBeenCalledWith('users-keycloak/_self?expandPermissions=true', expect.objectContaining({}));
});
});

0 comments on commit ec708e3

Please sign in to comment.