mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 14:03:06 +00:00
fix getIDHref mock, it returns a string, not an observable
This commit is contained in:
@@ -89,7 +89,7 @@ describe('ComColDataService', () => {
|
|||||||
function initMockCommunityDataService(): CommunityDataService {
|
function initMockCommunityDataService(): CommunityDataService {
|
||||||
return jasmine.createSpyObj('responseCache', {
|
return jasmine.createSpyObj('responseCache', {
|
||||||
getEndpoint: hot('--a-', { a: communitiesEndpoint }),
|
getEndpoint: hot('--a-', { a: communitiesEndpoint }),
|
||||||
getIDHref: cold('b-', { b: communityEndpoint })
|
getIDHref: communityEndpoint
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user