diff --git a/tests/api/helpers.rs b/tests/api/helpers.rs index f3fd82a..2b97571 100644 --- a/tests/api/helpers.rs +++ b/tests/api/helpers.rs @@ -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