diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-25 14:24:19 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-25 14:24:19 -0600 |
| commit | 86c9564a82f56b7c5ee60f4bff9fb07ca3e4a6eb (patch) | |
| tree | ecf9c5c3335b2f27fed2dbf3dcfded1eb2b0b68c /tests/common | |
| parent | d099e77eaa8e51eef14cd775234bfd4b12098a4c (diff) | |
test: move unit tests to integration test suite to share code
Diffstat (limited to 'tests/common')
| -rw-r--r-- | tests/common/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<String, String> { headers.insert("authorization".to_string(), auth_value.to_string()); headers } + +pub fn create_token() -> String { + return String::from("valid-token"); +} |
