mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies
This commit is contained in:
@@ -51,7 +51,7 @@ describe('DisabledFieldParser test suite', () => {
|
||||
it('should set init value properly', () => {
|
||||
initFormValues = {
|
||||
description: [
|
||||
new FormFieldMetadataValueObject('test description'),
|
||||
'test description',
|
||||
],
|
||||
};
|
||||
const expectedValue ='test description';
|
||||
@@ -59,7 +59,7 @@ describe('DisabledFieldParser test suite', () => {
|
||||
const parser = new DisabledFieldParser(submissionId, field, initFormValues, parserOptions);
|
||||
|
||||
const fieldModel = parser.parse();
|
||||
expect(fieldModel.value).toEqual(expectedValue);
|
||||
expect(fieldModel.value.value).toEqual(expectedValue);
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user