1 2 3 4 5 6 7 8 9
use pris::{self, Player}; #[tokio::test] async fn test_init() -> Result<(), Box<dyn std::error::Error>> { let conn = pris::get_connection(); let _player = Player::try_new("cmus", &conn).await?; Ok(()) }