"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/shared/mocks/external-source.service.mock.ts" between
dspace-angular-dspace-7.0.tar.gz and dspace-angular-dspace-7.1.tar.gz

About: dspace-angular is the Angular-based frontend of DSpace, a digital repository system to capture, store, index, preserve and redistribute an organization’s research material in digital formats.

external-source.service.mock.ts  (dspace-angular-dspace-7.0):external-source.service.mock.ts  (dspace-angular-dspace-7.1)
skipping to change at line 14 skipping to change at line 14
export const externalSourceOrcid: ExternalSource = { export const externalSourceOrcid: ExternalSource = {
type: new ResourceType('externalsource'), type: new ResourceType('externalsource'),
id: 'orcid', id: 'orcid',
name: 'orcid', name: 'orcid',
hierarchical: false, hierarchical: false,
_links: { _links: {
entries: { entries: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/orcid/entries' href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/orcid/entries'
}, },
entityTypes: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc
es/my_staff_db/entityTypes'
},
self: { self: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/orcid' href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/orcid'
} }
} }
}; };
export const externalSourceCiencia: ExternalSource = { export const externalSourceCiencia: ExternalSource = {
type: new ResourceType('externalsource'), type: new ResourceType('externalsource'),
id: 'ciencia', id: 'ciencia',
name: 'ciencia', name: 'ciencia',
hierarchical: false, hierarchical: false,
_links: { _links: {
entries: { entries: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/ciencia/entries' href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/ciencia/entries'
}, },
entityTypes: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc
es/my_staff_db/entityTypes'
},
self: { self: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/ciencia' href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/ciencia'
} }
} }
}; };
export const externalSourceMyStaffDb: ExternalSource = { export const externalSourceMyStaffDb: ExternalSource = {
type: new ResourceType('externalsource'), type: new ResourceType('externalsource'),
id: 'my_staff_db', id: 'my_staff_db',
name: 'my_staff_db', name: 'my_staff_db',
hierarchical: false, hierarchical: false,
_links: { _links: {
entries: { entries: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/my_staff_db/entries' href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/my_staff_db/entries'
}, },
entityTypes: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc
es/my_staff_db/entityTypes'
},
self: { self: {
href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/my_staff_db' href: 'https://dspace7.4science.cloud/server/api/integration/externalsourc es/my_staff_db'
} }
} }
}; };
/** /**
* Mock for [[ExternalSourceService]] * Mock for [[ExternalSourceService]]
*/ */
export function getMockExternalSourceService(): ExternalSourceService { export function getMockExternalSourceService(): ExternalSourceService {
return jasmine.createSpyObj('ExternalSourceService', { return jasmine.createSpyObj('ExternalSourceService', {
findAll: jasmine.createSpy('findAll'), findAll: jasmine.createSpy('findAll'),
searchBy: jasmine.createSpy('searchBy'),
getExternalSourceEntries: jasmine.createSpy('getExternalSourceEntries'), getExternalSourceEntries: jasmine.createSpy('getExternalSourceEntries'),
}); });
} }
 End of changes. 4 change blocks. 
0 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)