71380: Remove redundant code and add subscribable removeByHrefSubstring

This commit is contained in:
Kristof De Langhe
2020-06-25 17:51:11 +02:00
parent 73c25998e3
commit bfdd943d45
4 changed files with 17 additions and 23 deletions

View File

@@ -11,7 +11,7 @@ export function getMockRequestService(requestEntry$: Observable<RequestEntry> =
getByUUID: requestEntry$,
uriEncodeBody: jasmine.createSpy('uriEncodeBody'),
isCachedOrPending: false,
removeByHrefSubstring: jasmine.createSpy('removeByHrefSubstring'),
removeByHrefSubstring: jasmine.createSpy('removeByHrefSubstring').and.returnValue(observableOf(true)),
hasByHrefObservable: observableOf(false)
});
}