This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user