Commits

Giuseppe Digilio authored c374627c27f
[CSTPER-138] Fixed failed test
No tags

src/app/shared/mocks/external-source.service.mock.ts

Modified
43 43 },
44 44 self: {
45 45 href: 'https://dspace7.4science.cloud/server/api/integration/externalsources/my_staff_db'
46 46 }
47 47 }
48 48 };
49 49
50 50 /**
51 51 * Mock for [[ExternalSourceService]]
52 52 */
53 -export function getMockExternalSourceService():
54 -ExternalSourceService {
53 +export function getMockExternalSourceService(): ExternalSourceService {
55 54 return jasmine.createSpyObj('ExternalSourceService', {
56 55 findAll: jasmine.createSpy('findAll'),
57 56 getExternalSourceEntries: jasmine.createSpy('getExternalSourceEntries'),
58 57 });
59 58 }

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

Add shortcut