Skip to content

Commit a3181a0

Browse files
committed
Fixed test
1 parent 4e2d6d1 commit a3181a0

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ describe('DsDynamicFormControlContainerComponent test suite', () => {
165165
metadataFields: [],
166166
hasSelectableMetadata: false
167167
}),
168-
new DynamicDsDatePickerModel({ id: 'datepicker' }),
168+
new DynamicDsDatePickerModel({ id: 'datepicker', repeatable: false }),
169169
new DynamicLookupModel({
170170
id: 'lookup',
171171
metadataFields: [],

src/app/shared/form/builder/ds-dynamic-form-ui/models/date-picker/date-picker.component.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export const DATE_TEST_MODEL_CONFIG = {
2828
placeholder: 'Date',
2929
readOnly: false,
3030
required: true,
31+
repeatable: false,
3132
toggleIcon: 'fas fa-calendar'
3233
};
3334

src/app/shared/form/builder/form-builder.service.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ describe('FormBuilderService test suite', () => {
284284
hasSelectableMetadata: true
285285
}),
286286

287-
new DynamicDsDatePickerModel({ id: 'testDate' }),
287+
new DynamicDsDatePickerModel({ id: 'testDate', repeatable: false}),
288288

289289
new DynamicLookupModel({
290290
id: 'testLookup',

0 commit comments

Comments
 (0)