You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
mod behaviour;
|
|
|
|
mod fixtures;
|
|
|
|
mod helpers;
|
|
|
|
|
|
|
|
use std::env;
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate rstest;
|
|
|
|
|
|
|
|
// TODO: huita
|
|
|
|
#[ignore]
|
|
|
|
#[tokio::test]
|
|
|
|
async fn test_non_auth_connection_dropped() {
|
|
|
|
let env_server = env::var("U_SERVER").unwrap();
|
|
|
|
match reqwest::get(format!("https://{}", env_server)).await {
|
|
|
|
Err(e) => {
|
|
|
|
dbg!(e.to_string());
|
|
|
|
assert!(e.is_request())
|
|
|
|
}
|
|
|
|
_ => panic!("no error occured on foreign client connection"),
|
|
|
|
}
|
|
|
|
}
|