signature extension
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user