external-source-entry-import-modal.component.spec.ts (dspace-angular-dspace-7.0) | : | external-source-entry-import-modal.component.spec.ts (dspace-angular-dspace-7.1) | ||
---|---|---|---|---|
skipping to change at line 89 | skipping to change at line 89 | |||
schemas: [NO_ERRORS_SCHEMA] | schemas: [NO_ERRORS_SCHEMA] | |||
}).compileComponents(); | }).compileComponents(); | |||
})); | })); | |||
beforeEach(() => { | beforeEach(() => { | |||
fixture = TestBed.createComponent(ExternalSourceEntryImportModalComponent); | fixture = TestBed.createComponent(ExternalSourceEntryImportModalComponent); | |||
component = fixture.componentInstance; | component = fixture.componentInstance; | |||
component.externalSourceEntry = entry; | component.externalSourceEntry = entry; | |||
component.label = label; | component.label = label; | |||
component.relationship = relationship; | component.relationship = relationship; | |||
component.collection = submissionCollection; | ||||
component.item = submissionItem; | component.item = submissionItem; | |||
fixture.detectChanges(); | fixture.detectChanges(); | |||
}); | }); | |||
describe('close', () => { | describe('close', () => { | |||
beforeEach(() => { | beforeEach(() => { | |||
component.close(); | component.close(); | |||
}); | }); | |||
it('should close the modal', () => { | it('should close the modal', () => { | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added |