Commits

Alexandre Vryghem authored a340eb2a072
Removed broken tests

https://github.com/DSpace/dspace-angular/pull/2371#issuecomment-1637089839
No tags

src/app/core/data/external-source-data.service.spec.ts

Modified
89 89 let result;
90 90 beforeEach(() => {
91 91 spyOn(service, 'hasCachedErrorResponse').and.returnValue(observableOf(true));
92 92 result = service.getExternalSourceEntries('test');
93 93 });
94 94
95 95 it('should send a GetRequest', () => {
96 96 result.pipe(take(1)).subscribe();
97 97 expect(requestService.send).toHaveBeenCalledWith(jasmine.any(GetRequest), false);
98 98 });
99 -
100 - it('should return the entries', () => {
101 - result.subscribe((resultRD) => {
102 - expect(resultRD.payload.page).toBe(entries);
103 - });
104 - });
105 99 });
106 100 });
107 101 });

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut