mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 18:44:14 +00:00
[CST-5668] Fixed DsoPageOrcidButtonComponent test
This commit is contained in:
@@ -45,7 +45,7 @@ describe('DsoPageOrcidButtonComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should check the authorization of the current user', () => {
|
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', () => {
|
describe('when the user is authorized', () => {
|
||||||
|
Reference in New Issue
Block a user