fix: Disable ErrorTracker in test environment
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 <noreply@anthropic.com>
This commit is contained in:
parent
64932a3096
commit
f3b8f95ba4
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue