From 86c9564a82f56b7c5ee60f4bff9fb07ca3e4a6eb Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 25 Jun 2025 14:24:19 -0600 Subject: test: move unit tests to integration test suite to share code --- tests/common/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/common') diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 9b2370cb..4e879b6f 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -26,3 +26,7 @@ pub fn create_headers_with_auth(auth_value: &str) -> HashMap { headers.insert("authorization".to_string(), auth_value.to_string()); headers } + +pub fn create_token() -> String { + return String::from("valid-token"); +} -- cgit v1.2.3