Add new test based on token auth with TLS

This commit is contained in:
2022-09-02 09:43:07 +02:00
parent 886843d087
commit 40c1bfc938
32 changed files with 747 additions and 30 deletions

View File

@@ -0,0 +1,7 @@
use mktemp::Temp;
pub fn create_temp_file_with_content(content: &[u8]) -> Temp {
let temp = Temp::new_file().unwrap();
std::fs::write(&temp, content).unwrap();
temp
}