Random creds.

This commit is contained in:
LukeMathWalker 2021-08-14 23:01:18 +01:00
parent 1d0d1cc382
commit 984800f1a8

View file

@ -46,6 +46,7 @@ impl TestApp {
pub async fn post_newsletters(&self, body: serde_json::Value) -> reqwest::Response {
reqwest::Client::new()
.post(&format!("{}/newsletters", &self.address))
.basic_auth(Uuid::new_v4().to_string(), Some(Uuid::new_v4().to_string()))
.json(&body)
.send()
.await