mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[TLC-249] Identifier mock data updated in unit test
This commit is contained in:
@@ -72,9 +72,20 @@ const mockItem = Object.assign(new Item(), {
|
|||||||
|
|
||||||
// Mock identifier data to use with tests
|
// Mock identifier data to use with tests
|
||||||
const identifierData: WorkspaceitemSectionIdentifiersObject = {
|
const identifierData: WorkspaceitemSectionIdentifiersObject = {
|
||||||
doi: 'https://doi.org/10.33515/dspace/1',
|
identifiers: [{
|
||||||
handle: '123456789/999',
|
value: 'https://doi.org/10.33515/dspace-61',
|
||||||
otherIdentifiers: ['123-123-123', 'ANBX-159']
|
identifierType: 'doi',
|
||||||
|
identifierStatus: 'TO_BE_REGISTERED',
|
||||||
|
type: 'identifier'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
value: '123456789/418',
|
||||||
|
identifierType: 'handle',
|
||||||
|
identifierStatus: null,
|
||||||
|
type: 'identifier'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
displayTypes: ["doi", "handle"]
|
||||||
};
|
};
|
||||||
|
|
||||||
// Mock section object to use with tests
|
// Mock section object to use with tests
|
||||||
|
Reference in New Issue
Block a user