From f3b8f95ba49616e78393184b18a27cc40a6067a1 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Wed, 30 Jul 2025 14:26:18 -0500 Subject: [PATCH] fix: Disable ErrorTracker in test environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prevents database ownership errors during LiveView tests by disabling ErrorTracker's database integration in the test environment. This resolves the recurring "Handler ErrorTracker.Integrations.Phoenix has failed and has been detached" errors that were occurring when LiveView processes tried to write to the database without proper ownership setup. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- config/test.exs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/test.exs b/config/test.exs index dcbf15b..4c6d4bc 100644 --- a/config/test.exs +++ b/config/test.exs @@ -54,6 +54,9 @@ config :aprsme, auto_migrate: false # Only in tests, remove the complexity from the password hashing algorithm config :bcrypt_elixir, :log_rounds, 1 +# Disable ErrorTracker in test environment to avoid database ownership issues +config :error_tracker, enabled: false + # Disable Exq during tests to prevent background job execution config :exq, start_on_application: false,