use dialtone_sqlx::control::user::check_name_availability::check_user_name_availability;
use dialtone_test_util::test_pg;
#[tokio::test]
async fn check_user_name_availability_test() {
test_pg::test_pg(move |pool| async move {
let action = check_user_name_availability(&pool, "test", "example.com").await;
assert!(action.is_ok())
})
.await;
}