X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapi%2Fsrc%2Flib.rs;h=988dac27ab4085f95c30f216eba42343d88d336e;hb=1d38aad9d3d51ef606074d5b49a8030c49dd0e9e;hp=f47d1bd56dc3b07c54a2a2ad079d37da06e10eee;hpb=73492af4b09448684ffde3d55454434ec3ed490b;p=lemmy.git diff --git a/crates/api/src/lib.rs b/crates/api/src/lib.rs index f47d1bd5..988dac27 100644 --- a/crates/api/src/lib.rs +++ b/crates/api/src/lib.rs @@ -94,6 +94,7 @@ mod tests { #[serial] async fn test_should_not_validate_user_token_after_password_change() { let pool = &build_db_pool_for_tests().await; + let pool = &mut pool.into(); let secret = Secret::init(pool).await.unwrap(); let settings = &SETTINGS.to_owned();