mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +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 {
|
||||
return jasmine.createSpyObj('responseCache', {
|
||||
getEndpoint: hot('--a-', { a: communitiesEndpoint }),
|
||||
getIDHref: cold('b-', { b: communityEndpoint })
|
||||
getIDHref: communityEndpoint
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user