mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Test fix for CI
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
<div *ngFor="let metadata of metadataList" class="row">
|
||||
<div class="col-md-12">
|
||||
<strong>{{metadata.key}}</strong>
|
||||
<strong>{{'item.preview.' + metadata.key | translate}}</strong>
|
||||
<p>{{metadata.value.value}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -48,8 +48,8 @@ describe('SubmissionImportExternalPreviewComponent test suite', () => {
|
||||
{ provide: Router, useValue: new RouterStub() },
|
||||
{ provide: SubmissionService, useValue: new SubmissionServiceStub() },
|
||||
{ provide: NotificationsService, useValue: new NotificationsServiceStub() },
|
||||
NgbModal,
|
||||
NgbActiveModal,
|
||||
{ provide: NgbModal, useValue: { open: () => {/*comment*/} } },
|
||||
{ provide: NgbActiveModal, useValue: { dismiss: () => {/*comment*/} } },
|
||||
SubmissionImportExternalPreviewComponent
|
||||
],
|
||||
schemas: [NO_ERRORS_SCHEMA]
|
||||
@@ -97,7 +97,6 @@ describe('SubmissionImportExternalPreviewComponent test suite', () => {
|
||||
const expected = [
|
||||
{ key: 'dc.identifier.uri', value: Metadata.first(comp.externalSourceEntry.metadata, 'dc.identifier.uri') }
|
||||
];
|
||||
comp.ngOnInit();
|
||||
fixture.detectChanges();
|
||||
|
||||
expect(comp.metadataList).toEqual(expected);
|
||||
|
@@ -1425,6 +1425,28 @@
|
||||
"item.page.uri": "URI",
|
||||
|
||||
|
||||
"item.preview.dc.identifier.uri": "Identifier:",
|
||||
|
||||
"item.preview.dc.contributor.author": "Authors:",
|
||||
|
||||
"item.preview.dc.date.issued": "Published date:",
|
||||
|
||||
"item.preview.dc.description.abstract": "Abstract:",
|
||||
|
||||
"item.preview.dc.identifier.other": "Other identifier:",
|
||||
|
||||
"item.preview.dc.language.iso": "Language:",
|
||||
|
||||
"item.preview.dc.subject": "Subjects:",
|
||||
|
||||
"item.preview.dc.title": "Title:",
|
||||
|
||||
"item.preview.person.familyName": "Surname:",
|
||||
|
||||
"item.preview.person.givenName": "Name:",
|
||||
|
||||
"item.preview.person.identifier.orcid": "ORCID:",
|
||||
|
||||
|
||||
"item.select.confirm": "Confirm selected",
|
||||
|
||||
@@ -2440,7 +2462,6 @@
|
||||
|
||||
"submission.import-external.preview.error.import.body": "An error occurs during the external source entry import process.",
|
||||
|
||||
|
||||
"submission.sections.describe.relationship-lookup.close": "Close",
|
||||
|
||||
"submission.sections.describe.relationship-lookup.external-source.added": "Successfully added local entry to the selection",
|
||||
@@ -2575,6 +2596,8 @@
|
||||
|
||||
"submission.sections.describe.relationship-lookup.selection-tab.title.lcname": "Search Results",
|
||||
|
||||
"submission.sections.describe.relationship-lookup.selection-tab.title.pubmed": "Search Results",
|
||||
|
||||
"submission.sections.describe.relationship-lookup.name-variant.notification.content": "Would you like to save \"{{ value }}\" as a name variant for this person so you and others can reuse it for future submissions? If you don\'t you can still use it for this submission.",
|
||||
|
||||
"submission.sections.describe.relationship-lookup.name-variant.notification.confirm": "Save a new name variant",
|
||||
|
Reference in New Issue
Block a user