Current section

Files

Jump to
exshome config test.exs
Raw

config/test.exs

import Config
# Configure your database
config :exshome, Exshome.Repo,
pool_size: 5,
show_sensitive_data_on_connection_error: true,
database_name: "exshome_test.db"
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :exshome, ExshomeWeb.Endpoint,
http: [ip: {127, 0, 0, 1}, port: 4002],
secret_key_base: "McB+GRVaMaeC1KOJLkJLw7XbjJCuCJn9lwIWVdh3orgUOdLMhtohdySqbKg2ddi3",
server: false
config :exshome, :environment, :test
config :exshome, :app_page_hook_module, ExshomeTest.Hooks.AppPage
config :exshome, :dependency_hook_module, ExshomeTest.Hooks.Dependency
config :exshome, :file_utils_hook_module, ExshomeTest.Hooks.FileUtils
config :exshome, :mpv_server_hook_module, ExshomeTest.Hooks.MpvServer
config :exshome, :pub_sub_hook_module, ExshomeTest.Hooks.PubSub
config :exshome, :repo_hook_module, ExshomeTest.Hooks.Repo
config :exshome, :live_view_hooks, [ExshomeTest.Hooks.LiveView]
config :exshome, :application_children, [
ExshomeTest.TestRegistry
]
# Print only warnings and errors during test
config :logger, level: :warn
# Initialize plugs at runtime for faster test compilation
config :phoenix, :plug_init_mode, :runtime