mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 01:39:28 +02:00
Update MSRV to 1.61 and fix test
This commit is contained in:
parent
6b11fb5cee
commit
9e06b11609
3 changed files with 6 additions and 6 deletions
|
@ -7,8 +7,8 @@ use librespot_core::{authentication::Credentials, config::SessionConfig, session
|
|||
#[tokio::test]
|
||||
async fn test_connection() {
|
||||
timeout(Duration::from_secs(30), async {
|
||||
let result = Session::new(SessionConfig::default(), None, false)
|
||||
.connect(Credentials::with_password("test", "test"))
|
||||
let result = Session::new(SessionConfig::default(), None)
|
||||
.connect(Credentials::with_password("test", "test"), false)
|
||||
.await;
|
||||
|
||||
match result {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue