Skip to content

Commit dff343f

Browse files
samuelalexandrevryghem
authored andcommitted
96598: Test feedback pt. 3: submission - repair auto-refresh - repair tests
1 parent 14fb379 commit dff343f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/app/submission/sections/form/section-form.component.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ describe('SubmissionSectionFormComponent test suite', () => {
295295
'dc.title': [new FormFieldMetadataValueObject('test')]
296296
};
297297
compAsAny.formData = {};
298-
compAsAny.sectionMetadata = ['dc.title'];
298+
compAsAny.sectionData.data = {
299+
'dc.title': [new FormFieldMetadataValueObject('test')]
300+
};
299301

300302
expect(comp.hasMetadataEnrichment(newSectionData)).toBeTruthy();
301303
});

0 commit comments

Comments
 (0)