From a55d55538633dd001ba616232a1f14d82166c0f2 Mon Sep 17 00:00:00 2001 From: Rafael Mendes <57309097+RafaelMendes1407@users.noreply.github.com> Date: Thu, 5 Nov 2026 14:43:40 -0300 Subject: [PATCH] Use distinct test module names for authentication coverage --- apps/materialcraft/src/control_server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/materialcraft/src/control_server.rs b/apps/materialcraft/src/control_server.rs index 1abc94b..5e89276 100644 --- a/apps/materialcraft/src/control_server.rs +++ b/apps/materialcraft/src/control_server.rs @@ -18,7 +18,7 @@ use serde_json::{Value, json}; #[cfg(test)] #[path = "control_server.test.rs"] -mod auth_tests; +mod exact_token_tests; fn auth_ok(token: &str, method: &str, params: &Value) -> bool { method == "auth" && params.get("token").and_then(Value::as_str).is_some_and(|t| token_matches(token, t))