[CST-5668] Fixed DsoPageOrcidButtonComponent test

This commit is contained in:
Luca Giamminonni
2022-06-07 15:15:51 +02:00
parent 7320d1cc66
commit 43f4ff7cde

View File

@@ -45,7 +45,7 @@ describe('DsoPageOrcidButtonComponent', () => {
});
it('should check the authorization of the current user', () => {
expect(authorizationService.isAuthorized).toHaveBeenCalledWith(FeatureID.CanEditOrcid, dso.self);
expect(authorizationService.isAuthorized).toHaveBeenCalledWith(FeatureID.CanSynchronizeWithORCID, dso.self);
});
describe('when the user is authorized', () => {