as_deps_example/apps/hello_world_web/config/test.exs

18 lines
588 B
Elixir
Raw Normal View History

2022-11-30 16:32:19 -06:00
import Config
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :hello_world_web, HelloWorldWeb.Endpoint,
http: [ip: {127, 0, 0, 1}, port: 4002],
secret_key_base: "0dCGuNzkeCey0jNACVCLFbzV+o3c6DyRcczXkv3Y6jK94VgE2g9p55KgE0DAVchT",
server: false
# Print only warnings and errors during test
config :logger, level: :warn
# In test we don't send emails.
config :hello_world, HelloWorld.Mailer, adapter: Swoosh.Adapters.Test
# Initialize plugs at runtime for faster test compilation
config :phoenix, :plug_init_mode, :runtime