From 84420606035fd62bbdcacb6231b9181f197d068f Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 27 Jun 2025 13:24:40 -0600 Subject: refactor: extract create_server function to test it directly --- tests/main_test.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/main_test.rs b/tests/main_test.rs index 5c6016f6..69c6eda1 100644 --- a/tests/main_test.rs +++ b/tests/main_test.rs @@ -1,2 +1,8 @@ #[cfg(test)] -mod tests {} +mod tests { + #[test] + fn test_create_server() { + let result = authzd::create_server(); + assert!(result.is_ok()); + } +} -- cgit v1.2.3