30 lines
988 B
1
import Config
2
3
# Configure your database
4
#
5
# The MIX_TEST_PARTITION environment variable can be used
6
# to provide built-in test partitioning in CI environment.
7
# Run `mix help test` for more information.
8
9
# We don't run a server during test. If one is required,
10
# you can enable the server option below.
11
config :blog, BlogWeb.Endpoint,
12
http: [ip: {127, 0, 0, 1}, port: 4002],
13
secret_key_base: "jQyqtj2csoAa8eHE6RnjL+4pab1jY72H1C9ARjmpflD9AMbWodBmDsjRr7rZZ8jn",
14
server: false
15
16
# In test we don't send emails
17
config :blog, Blog.Mailer, adapter: Swoosh.Adapters.Test
18
19
# Disable swoosh api client as it is only required for production adapters
20
config :swoosh, :api_client, false
21
22
# Print only warnings and errors during test
23
config :logger, level: :warning
24
25
# Initialize plugs at runtime for faster test compilation
26
config :phoenix, :plug_init_mode, :runtime
27
28
# Enable helpful, but potentially expensive runtime checks
29
config :phoenix_live_view,
30
enable_expensive_runtime_checks: true
31