signature extension

This commit is contained in:
2025-12-18 14:06:02 +01:00
parent 6ac06ccfe5
commit 3fa81e9ee3
2 changed files with 14 additions and 10 deletions

View File

@@ -79,23 +79,23 @@ mod tests {
#[tokio::test]
async fn registering_with_server() {
let username = String::from("gamemixtreize");
let username = String::from("gamixtreize");
let crypto_pair = CryptographicSignature::new(username);
if let Err(e) = register_with_the_server(crypto_pair).await {
eprintln!("Error during registration: {}", e);
}
}
/*#[tokio::test]
#[tokio::test]
async fn retreive_socket_addr() {
let username = String::from("ipjkndqfshjldfsjlbsdfjhhj");
match get_socket_address(username).await {
Ok(body) => {
println!("{:?}",body);
}
Ok(body) => {
println!("{:?}", body);
}
Err(e) => {
eprintln!("Erreur HTTP: {}", e);
}
}
}*/
}
}