File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
db-queries/src/db/datastore Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -3312,10 +3312,7 @@ mod tests {
33123312 } ;
33133313
33143314 // Create an initial, empty blueprint, and make it the target.
3315- let bp0 = BlueprintBuilder :: build_empty_with_sleds (
3316- sled_ids. iter ( ) . copied ( ) ,
3317- "test" ,
3318- ) ;
3315+ let bp0 = BlueprintBuilder :: build_empty ( "test" ) ;
33193316 bp_insert_and_make_target ( & opctx, & datastore, & bp0) . await ;
33203317
33213318 // Our blueprint doesn't describe any services, so we shouldn't find any
Original file line number Diff line number Diff line change @@ -401,10 +401,7 @@ mod tests {
401401 let db = TestDatabase :: new_with_datastore ( & logctx. log ) . await ;
402402 let ( opctx, datastore) = ( db. opctx ( ) , db. datastore ( ) ) ;
403403
404- let blueprint = BlueprintBuilder :: build_empty_with_sleds (
405- iter:: once ( SledUuid :: new_v4 ( ) ) ,
406- "test" ,
407- ) ;
404+ let blueprint = BlueprintBuilder :: build_empty ( "test" ) ;
408405 let blueprint_target = BlueprintTarget {
409406 target_id : blueprint. id ,
410407 enabled : true ,
@@ -464,10 +461,7 @@ mod tests {
464461 let db = TestDatabase :: new_with_datastore ( & logctx. log ) . await ;
465462 let ( opctx, datastore) = ( db. opctx ( ) , db. datastore ( ) ) ;
466463
467- let blueprint = BlueprintBuilder :: build_empty_with_sleds (
468- iter:: once ( SledUuid :: new_v4 ( ) ) ,
469- "test" ,
470- ) ;
464+ let blueprint = BlueprintBuilder :: build_empty ( "test" ) ;
471465 let blueprint_target = BlueprintTarget {
472466 target_id : blueprint. id ,
473467 enabled : true ,
You can’t perform that action at this time.
0 commit comments