1- use  crate :: schema:: categories; 
21use  claims:: assert_ok; 
2+ use  crates_io:: schema:: categories; 
33use  crates_io_test_db:: TestDatabase ; 
44use  diesel:: * ; 
55use  diesel_async:: { AsyncPgConnection ,  RunQueryDsl } ; 
@@ -53,7 +53,7 @@ async fn sync_adds_new_categories() {
5353    let  test_db = TestDatabase :: new ( ) ; 
5454    let  mut  conn = test_db. async_connect ( ) . await ; 
5555
56-     crate :: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH ,  & mut  conn) 
56+     crates_io :: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH ,  & mut  conn) 
5757        . await 
5858        . unwrap ( ) ; 
5959
@@ -66,10 +66,10 @@ async fn sync_removes_missing_categories() {
6666    let  test_db = TestDatabase :: new ( ) ; 
6767    let  mut  conn = test_db. async_connect ( ) . await ; 
6868
69-     crate :: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH ,  & mut  conn) 
69+     crates_io :: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH ,  & mut  conn) 
7070        . await 
7171        . unwrap ( ) ; 
72-     crate :: boot:: categories:: sync_with_connection ( ALGORITHMS ,  & mut  conn) 
72+     crates_io :: boot:: categories:: sync_with_connection ( ALGORITHMS ,  & mut  conn) 
7373        . await 
7474        . unwrap ( ) ; 
7575
@@ -82,10 +82,10 @@ async fn sync_adds_and_removes() {
8282    let  test_db = TestDatabase :: new ( ) ; 
8383    let  mut  conn = test_db. async_connect ( ) . await ; 
8484
85-     crate :: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH ,  & mut  conn) 
85+     crates_io :: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_SUCH ,  & mut  conn) 
8686        . await 
8787        . unwrap ( ) ; 
88-     crate :: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_ANOTHER ,  & mut  conn) 
88+     crates_io :: boot:: categories:: sync_with_connection ( ALGORITHMS_AND_ANOTHER ,  & mut  conn) 
8989        . await 
9090        . unwrap ( ) ; 
9191
@@ -99,5 +99,5 @@ async fn test_real_categories() {
9999    let  mut  conn = test_db. async_connect ( ) . await ; 
100100
101101    const  TOML :  & str  = include_str ! ( "../boot/categories.toml" ) ; 
102-     assert_ok ! ( crate :: boot:: categories:: sync_with_connection( TOML ,  & mut  conn) . await ) ; 
102+     assert_ok ! ( crates_io :: boot:: categories:: sync_with_connection( TOML ,  & mut  conn) . await ) ; 
103103} 
0 commit comments