diff options
Diffstat (limited to 'tests/common')
| -rw-r--r-- | tests/common/factory_bot.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/common/factory_bot.rs b/tests/common/factory_bot.rs index a16a1213..f25633f4 100644 --- a/tests/common/factory_bot.rs +++ b/tests/common/factory_bot.rs @@ -42,12 +42,6 @@ pub fn build_headers(headers: Vec<(String, String)>) -> HashMap<String, String> }); } -pub fn create_headers_with_auth(auth_value: &str) -> HashMap<String, String> { - return build_with(|item: &mut HashMap<String, String>| { - item.insert(String::from("authorization"), String::from(auth_value)); - }); -} - pub fn create_token() -> String { return String::from("valid-token"); } |
