mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-11 20:13:07 +00:00
fix self links in mocks
This commit is contained in:
@@ -48,7 +48,7 @@ describe('ServerSyncBufferEffects', () => {
|
||||
provide: ObjectCacheService, useValue: {
|
||||
getObjectBySelfLink: (link) => {
|
||||
const object = new DSpaceObject();
|
||||
object.self = link;
|
||||
object._links.self = { href: link };
|
||||
return observableOf(object);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user