@@ -3113,7 +3113,6 @@ mod tests {
31133113 use crate :: db:: raw_query_builder:: QueryBuilder ;
31143114 use gateway_types:: rot:: RotSlot ;
31153115 use nexus_db_model:: IpVersion ;
3116- use nexus_inventory:: CollectionBuilder ;
31173116 use nexus_inventory:: now_db_precision;
31183117 use nexus_reconfigurator_planning:: blueprint_builder:: BlueprintBuilder ;
31193118 use nexus_reconfigurator_planning:: blueprint_builder:: Ensure ;
@@ -3439,7 +3438,6 @@ mod tests {
34393438 & logctx. log ,
34403439 & blueprint1,
34413440 & planning_input,
3442- & collection,
34433441 "test" ,
34443442 PlannerRng :: from_entropy ( ) ,
34453443 )
@@ -3787,7 +3785,6 @@ mod tests {
37873785 & logctx. log ,
37883786 & blueprint2,
37893787 & planning_input,
3790- & collection,
37913788 "dummy" ,
37923789 PlannerRng :: from_entropy ( ) ,
37933790 )
@@ -3844,7 +3841,6 @@ mod tests {
38443841 & logctx. log ,
38453842 & blueprint3,
38463843 & planning_input,
3847- & collection,
38483844 "dummy" ,
38493845 PlannerRng :: from_entropy ( ) ,
38503846 )
@@ -3898,7 +3894,6 @@ mod tests {
38983894 & logctx. log ,
38993895 & blueprint4,
39003896 & planning_input,
3901- & collection,
39023897 "dummy" ,
39033898 PlannerRng :: from_entropy ( ) ,
39043899 )
@@ -3956,7 +3951,6 @@ mod tests {
39563951 & logctx. log ,
39573952 & blueprint5,
39583953 & planning_input,
3959- & collection,
39603954 "dummy" ,
39613955 PlannerRng :: from_entropy ( ) ,
39623956 )
@@ -4020,9 +4014,6 @@ mod tests {
40204014 . unwrap_err ( ) ;
40214015 assert ! ( err. to_string( ) . contains( "no target blueprint set" ) ) ;
40224016
4023- // Create an initial empty collection
4024- let collection = CollectionBuilder :: new ( "test" ) . build ( ) ;
4025-
40264017 // Create three blueprints:
40274018 // * `blueprint1` has no parent
40284019 // * `blueprint2` and `blueprint3` both have `blueprint1` as parent
@@ -4034,7 +4025,6 @@ mod tests {
40344025 & logctx. log ,
40354026 & blueprint1,
40364027 & EMPTY_PLANNING_INPUT ,
4037- & collection,
40384028 "test2" ,
40394029 PlannerRng :: from_entropy ( ) ,
40404030 )
@@ -4044,7 +4034,6 @@ mod tests {
40444034 & logctx. log ,
40454035 & blueprint1,
40464036 & EMPTY_PLANNING_INPUT ,
4047- & collection,
40484037 "test3" ,
40494038 PlannerRng :: from_entropy ( ) ,
40504039 )
@@ -4145,7 +4134,6 @@ mod tests {
41454134 & logctx. log ,
41464135 & blueprint3,
41474136 & EMPTY_PLANNING_INPUT ,
4148- & collection,
41494137 "test3" ,
41504138 PlannerRng :: from_entropy ( ) ,
41514139 )
@@ -4179,9 +4167,6 @@ mod tests {
41794167 let db = TestDatabase :: new_with_datastore ( & logctx. log ) . await ;
41804168 let ( opctx, datastore) = ( db. opctx ( ) , db. datastore ( ) ) ;
41814169
4182- // Create an initial empty collection
4183- let collection = CollectionBuilder :: new ( "test" ) . build ( ) ;
4184-
41854170 // Create an initial blueprint and a child.
41864171 let blueprint1 = BlueprintBuilder :: build_empty_with_sleds (
41874172 std:: iter:: empty ( ) ,
@@ -4191,7 +4176,6 @@ mod tests {
41914176 & logctx. log ,
41924177 & blueprint1,
41934178 & EMPTY_PLANNING_INPUT ,
4194- & collection,
41954179 "test2" ,
41964180 PlannerRng :: from_entropy ( ) ,
41974181 )
@@ -4431,7 +4415,6 @@ mod tests {
44314415 & logctx. log ,
44324416 & blueprint1,
44334417 & example_system. input ,
4434- & example_system. collection ,
44354418 & format ! ( "{test_name}-2" ) ,
44364419 PlannerRng :: from_entropy ( ) ,
44374420 )
0 commit comments