From 4e354b2eea3711225fded5730c905993123ae9b2 Mon Sep 17 00:00:00 2001 From: yrimal Date: Wed, 25 Oct 2023 10:30:35 -0400 Subject: [PATCH] #578 add one more test --- test/lib/validate-app-settings.spec.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/lib/validate-app-settings.spec.js b/test/lib/validate-app-settings.spec.js index e830fb383..016da9c43 100644 --- a/test/lib/validate-app-settings.spec.js +++ b/test/lib/validate-app-settings.spec.js @@ -120,6 +120,18 @@ describe('validate-app-settings', () => { }]); }); + it('start_from as single element on array is valid.', () => { + isValid([{ + name: 'schedule name', + start_from: ['dob'], + messages: [{ + translation_key: 'a.b', + group: '1', + offset: '0' + }] + }]); + }); + it('start_from as an array is valid.', () => { isValid([{ name: 'schedule name',