working on db logic
Some checks failed
CI/CD Pipeline / build (push) Failing after 3s

This commit is contained in:
2026-03-12 15:01:33 -06:00
parent 399eb9f93f
commit 4dc4814b2f
21 changed files with 573 additions and 256 deletions

View File

@@ -1,5 +1,8 @@
import Config
# Mark this as test environment
config :elixir_ai, :env, :test
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :elixir_ai, ElixirAiWeb.Endpoint,
@@ -16,3 +19,7 @@ config :phoenix, :plug_init_mode, :runtime
# Enable helpful, but potentially expensive runtime checks
config :phoenix_live_view,
enable_expensive_runtime_checks: true
# Configure the database for testing
# We use pool_size: 0 to prevent database connections during tests
config :elixir_ai, ElixirAi.Repo, pool_size: 0