mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
68346: Tests fixes
This commit is contained in:
@@ -53,8 +53,11 @@ describe('ServerSyncBufferEffects', () => {
|
||||
return observableOf(object);
|
||||
},
|
||||
getBySelfLink: (link) => {
|
||||
const object = new DSpaceObject();
|
||||
object.self = link;
|
||||
const object = Object.assign(new DSpaceObject(), {
|
||||
_links: {
|
||||
self: { href: link }
|
||||
}
|
||||
});
|
||||
return observableOf(object);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user