mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
fixed relationship specific labels in modal and cleaned up existing code
This commit is contained in:
@@ -435,13 +435,12 @@ describe('FormBuilderService test suite', () => {
|
||||
expect((formModel[2] as DynamicRowGroupModel).get(0) instanceof DynamicTypeaheadModel).toBe(true);
|
||||
});
|
||||
|
||||
fit('should return form\'s fields value from form model', () => {
|
||||
it('should return form\'s fields value from form model', () => {
|
||||
const formModel = service.modelFromConfiguration(submissionId, testFormConfiguration, 'testScopeUUID');
|
||||
let value = {} as any;
|
||||
let value = {} as any;
|
||||
|
||||
console.log(service.getValueFromModel(formModel));
|
||||
expect(service.getValueFromModel(formModel)).toEqual(value);
|
||||
console.log('first test');
|
||||
|
||||
((formModel[0] as DynamicRowGroupModel).get(1) as DsDynamicInputModel).valueUpdates.next('test');
|
||||
|
||||
value = {
|
||||
|
Reference in New Issue
Block a user