mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
fixed tests for demo
This commit is contained in:
@@ -128,7 +128,7 @@ describe('DsDynamicFormControlContainerComponent test suite', () => {
|
||||
new DynamicDsDatePickerModel({ id: 'datepicker'}),
|
||||
new DynamicLookupModel({ id: 'lookup', workspaceItem: new WorkspaceItem(), repeatable: false }),
|
||||
new DynamicLookupNameModel({ id: 'lookupName', workspaceItem: new WorkspaceItem(), repeatable: false }),
|
||||
new DynamicQualdropModel({ id: 'combobox', readOnly: false })
|
||||
new DynamicQualdropModel({ id: 'combobox', readOnly: false, required: false })
|
||||
];
|
||||
const testModel = formModel[8];
|
||||
let formGroup: FormGroup;
|
||||
|
@@ -251,7 +251,7 @@ describe('FormBuilderService test suite', () => {
|
||||
|
||||
new DynamicLookupNameModel({id: 'testLookupName', workspaceItem: new WorkspaceItem(), repeatable: false}),
|
||||
|
||||
new DynamicQualdropModel({id: 'testCombobox', readOnly: false}),
|
||||
new DynamicQualdropModel({id: 'testCombobox', readOnly: false, required: false}),
|
||||
|
||||
new DynamicRowArrayModel(
|
||||
{
|
||||
@@ -263,6 +263,7 @@ describe('FormBuilderService test suite', () => {
|
||||
new DynamicInputModel({id: 'testFormRowArrayGroupInput'})
|
||||
];
|
||||
},
|
||||
required: false
|
||||
}
|
||||
),
|
||||
];
|
||||
|
@@ -95,7 +95,6 @@ describe('SearchSettingsComponent', () => {
|
||||
// SearchPageComponent test instance
|
||||
fixture.detectChanges();
|
||||
searchServiceObject = (comp as any).service;
|
||||
spyOn(comp, 'reloadRPP');
|
||||
spyOn(comp, 'reloadOrder');
|
||||
spyOn(searchServiceObject, 'search').and.callThrough();
|
||||
|
||||
|
Reference in New Issue
Block a user