1
0
Fork 0
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:
Roderick van Domburg 2022-07-28 19:32:11 +02:00
parent 6b11fb5cee
commit 9e06b11609
No known key found for this signature in database
GPG key ID: 87F5FDE8A56219F4
3 changed files with 6 additions and 6 deletions

View file

@ -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 {