@@ -60,7 +60,7 @@ fn select_slugs(conn: &PgConnection) -> Vec<String> {
6060fn sync_adds_new_categories ( ) {
6161 let conn = pg_connection ( ) ;
6262
63- :: cargo_registry:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH , & conn) . unwrap ( ) ;
63+ :: cargo_registry:: boot :: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH , & conn) . unwrap ( ) ;
6464
6565 let categories = select_slugs ( & conn) ;
6666 assert_eq ! ( categories, vec![ "algorithms" , "algorithms::such" ] ) ;
@@ -70,8 +70,8 @@ fn sync_adds_new_categories() {
7070fn sync_removes_missing_categories ( ) {
7171 let conn = pg_connection ( ) ;
7272
73- :: cargo_registry:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH , & conn) . unwrap ( ) ;
74- :: cargo_registry:: categories:: sync_with_connection ( ALGORITHMS , & conn) . unwrap ( ) ;
73+ :: cargo_registry:: boot :: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH , & conn) . unwrap ( ) ;
74+ :: cargo_registry:: boot :: categories:: sync_with_connection ( ALGORITHMS , & conn) . unwrap ( ) ;
7575
7676 let categories = select_slugs ( & conn) ;
7777 assert_eq ! ( categories, vec![ "algorithms" ] ) ;
@@ -81,8 +81,9 @@ fn sync_removes_missing_categories() {
8181fn sync_adds_and_removes ( ) {
8282 let conn = pg_connection ( ) ;
8383
84- :: cargo_registry:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH , & conn) . unwrap ( ) ;
85- :: cargo_registry:: categories:: sync_with_connection ( ALGORITHMS_AND_ANOTHER , & conn) . unwrap ( ) ;
84+ :: cargo_registry:: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH , & conn) . unwrap ( ) ;
85+ :: cargo_registry:: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_ANOTHER , & conn)
86+ . unwrap ( ) ;
8687
8788 let categories = select_slugs ( & conn) ;
8889 assert_eq ! ( categories, vec![ "algorithms" , "another" ] ) ;
0 commit comments