68405: javadoc, test, and cleanup

This commit is contained in:
Marie Verdonck
2020-01-31 18:16:39 +01:00
committed by Art Lowel
parent 42d6527ca9
commit 6bffa68bbb
10 changed files with 123 additions and 53 deletions

View File

@@ -167,13 +167,12 @@ describe('ComColDataService', () => {
expect(objectCache.getObjectByUUID).toHaveBeenCalledWith(scopeID);
});
// TODO fix
// it('should return the endpoint to fetch resources within the given scope', () => {
// const result = service.getBrowseEndpoint(options);
// const expected = '--e-';
//
// scheduler.expectObservable(result).toBe(expected, { e: scopedEndpoint });
// });
it('should return the endpoint to fetch resources within the given scope', () => {
const result = service.getBrowseEndpoint(options);
const expected = '--e-';
scheduler.expectObservable(result).toBe(expected, { e: scopedEndpoint });
});
});
describe('if the scope Community can\'t be found', () => {