@@ -61,6 +61,7 @@ import {
6161 FILE_TYPE ,
6262 FLAG_TYPE ,
6363 INTEGER_TYPE ,
64+ MULTI_CHOICE_TYPE ,
6465 ONTOLOGY_LOOKUP_TYPE ,
6566 PARTICIPANT_TYPE ,
6667 SAMPLE_TYPE ,
@@ -371,6 +372,7 @@ describe('domain properties actions', () => {
371372 allowTextChoiceProperties : true ,
372373 allowSampleSubjectProperties : true ,
373374 allowCalculatedFields : true ,
375+ allowMultiChoiceProperties : true
374376 } ) ;
375377 const available = getAvailableTypes ( domain ) ;
376378 expect ( available . contains ( FLAG_TYPE ) ) . toBeTruthy ( ) ;
@@ -386,6 +388,7 @@ describe('domain properties actions', () => {
386388 expect ( available . contains ( SAMPLE_TYPE ) ) . toBeTruthy ( ) ;
387389 expect ( available . contains ( PARTICIPANT_TYPE ) ) . toBeTruthy ( ) ;
388390 expect ( available . contains ( CALCULATED_TYPE ) ) . toBeFalsy ( ) ;
391+ expect ( available . contains ( MULTI_CHOICE_TYPE ) ) . toBeTruthy ( ) ;
389392 } ) ;
390393
391394 test ( 'getAvailableTypes, no optional allowed' , ( ) => {
@@ -399,6 +402,7 @@ describe('domain properties actions', () => {
399402 allowTextChoiceProperties : false ,
400403 allowSampleSubjectProperties : false ,
401404 allowCalculatedFields : false ,
405+ allowMultiChoiceProperties : false ,
402406 } ) ;
403407 const available = getAvailableTypes ( domain ) ;
404408 expect ( available . contains ( FLAG_TYPE ) ) . toBeFalsy ( ) ;
@@ -414,6 +418,7 @@ describe('domain properties actions', () => {
414418 expect ( available . contains ( SAMPLE_TYPE ) ) . toBeFalsy ( ) ;
415419 expect ( available . contains ( PARTICIPANT_TYPE ) ) . toBeFalsy ( ) ;
416420 expect ( available . contains ( CALCULATED_TYPE ) ) . toBeFalsy ( ) ;
421+ expect ( available . contains ( MULTI_CHOICE_TYPE ) ) . toBeFalsy ( ) ;
417422 } ) ;
418423
419424 test ( 'getAvailableTypes calculated fields, LKSM Starter' , ( ) => {
0 commit comments