@@ -671,17 +671,25 @@ mod test {
671671 helper_url : daphne:: messages:: taskprov:: UrlBytes {
672672 bytes : b"http://helper" . into ( ) ,
673673 } ,
674- query_config : daphne:: messages:: taskprov:: QueryConfig {
675- time_precision : 1 ,
676- max_batch_query_count : 1 ,
677- min_batch_size : 1 ,
678- batch_mode : daphne:: messages:: taskprov:: BatchMode :: TimeInterval ,
674+ time_precision : 1 ,
675+ min_batch_size : 1 ,
676+ query_config : daphne:: messages:: taskprov:: QueryConfig :: TimeInterval ,
677+ lifetime : match version {
678+ DapVersion :: Draft09 => {
679+ daphne:: messages:: taskprov:: TaskLifetime :: Draft09 { expiration : 1 }
680+ }
681+ DapVersion :: Latest => daphne:: messages:: taskprov:: TaskLifetime :: Latest {
682+ start : 0 ,
683+ duration : 1 ,
684+ } ,
679685 } ,
680- task_expiration : 1 ,
681- vdaf_config : daphne:: messages:: taskprov:: VdafConfig {
682- dp_config : daphne:: messages:: taskprov:: DpConfig :: None ,
683- var : daphne:: messages:: taskprov:: VdafTypeVar :: Prio2 { dimension : 1 } ,
686+ vdaf_config : daphne:: messages:: taskprov:: VdafConfig :: Prio2 { dimension : 1 } ,
687+ extensions : Vec :: new ( ) ,
688+ draft09_max_batch_query_count : match version {
689+ DapVersion :: Draft09 => Some ( 1 ) ,
690+ DapVersion :: Latest => None ,
684691 } ,
692+ draft09_dp_config : Some ( daphne:: messages:: taskprov:: DpConfig :: None ) ,
685693 } ;
686694
687695 let req = test :: < ( ) > (
0 commit comments