68346: Tests fixes

This commit is contained in:
Kristof De Langhe
2020-03-06 11:08:56 +01:00
parent cb21cd47bb
commit 4bbbc93f6c
9 changed files with 55 additions and 21 deletions

View File

@@ -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);
}
}