@@ -1494,10 +1494,10 @@ class ParatooServiceSpec extends MongoSpec implements ServiceUnitTest<ParatooSer
1494
1494
1495
1495
def " The data set name will be updated after the callback to Monitor core and be created from available information" () {
1496
1496
expect :
1497
- ParatooService . buildUpdatedDataSetSummaryName(" site" , " 2024-05-14T00:00:00Z" , " 2024-05-14T10:00:00Z" , " Protocol 1" , null ) == " Protocol 1 (site) - 2024-05-14 10:00 ${ am} to 2024-05-14 8:00 ${ pm} "
1498
- ParatooService . buildUpdatedDataSetSummaryName(" site" , " 2024-05-14T00:00:00Z" , null , " Protocol 1" , null ) == " Protocol 1 (site) - 2024-05-14 10:00 ${ am} "
1499
- ParatooService . buildUpdatedDataSetSummaryName(null , " 2024-05-14T00:00:00Z" , null , " Protocol 1" , null ) == " Protocol 1 - 2024-05-14 10:00 ${ am} "
1500
- ParatooService . buildUpdatedDataSetSummaryName(null , null , null , " Protocol 1" , new ParatooCollectionId (eventTime :DateUtil . parse(" 2024-05-14T00:00:00Z" ))) == " Protocol 1 - 2024-05-14 10:00 ${ am} "
1497
+ ParatooService . buildUpdatedDataSetSummaryName(" site" , " 2024-05-14T00:00:00Z" , " 2024-05-14T10:00:00Z" , " Protocol 1" , null , new ParatooProtocolConfig () ) == " Protocol 1 (site) - 2024-05-14 10:00 ${ am} to 2024-05-14 8:00 ${ pm} "
1498
+ ParatooService . buildUpdatedDataSetSummaryName(" site" , " 2024-05-14T00:00:00Z" , null , " Protocol 1" , null , new ParatooProtocolConfig ( usesPlotLayout : false )) == " Protocol 1 - 2024-05-14 10:00 ${ am} "
1499
+ ParatooService . buildUpdatedDataSetSummaryName(null , " 2024-05-14T00:00:00Z" , null , " Protocol 1" , null , new ParatooProtocolConfig () ) == " Protocol 1 - 2024-05-14 10:00 ${ am} "
1500
+ ParatooService . buildUpdatedDataSetSummaryName(null , null , null , " Protocol 1" , new ParatooCollectionId (eventTime :DateUtil . parse(" 2024-05-14T00:00:00Z" )), new ParatooProtocolConfig () ) == " Protocol 1 - 2024-05-14 10:00 ${ am} "
1501
1501
1502
1502
1503
1503
}
0 commit comments