web: skip the common logger in tests
Assisted-by: GLM-5.3 via pi
change qqmlmpnuluppmmwuxlzpxuzyqrlnrtut
commit 459b0ab53da5227e2e95da3b4cb7595de062ccf3
author Alpha Chen <alpha@kejadlen.dev>
date
parent muyzvkrl
diff --git a/lib/pro_tacts/web.rb b/lib/pro_tacts/web.rb
index 6670887..1587cd4 100644
--- a/lib/pro_tacts/web.rb
+++ b/lib/pro_tacts/web.rb
@@ -40,7 +40,7 @@ module ProTacts
 
     plugin :all_verbs
     plugin :dav_verbs
-    plugin :common_logger
+    plugin :common_logger unless ProTacts.config.test?
 
     plugin :not_found do
       Sentry.capture_message("404 Not Found", level: :warning)