Files
provider-service/config/test.exs
HaimKortovich f566d04a04
All checks were successful
Build and Publish / build-release (push) Successful in 4m46s
init commit
2026-04-15 15:31:56 -05:00

28 lines
814 B
Elixir

import Config
config :provider_service, ProviderService.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost",
database: "provider_service_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: System.schedulers_online() * 2
config :provider_service, ProviderServiceWeb.Endpoint,
http: [ip: {127, 0, 0, 1}, port: 4002],
secret_key_base: "mf3rysPsftCpSAdQfBIFEKFpjA1e9tGi9+jbxhNTs5qC3pC9LSn6P/kWlZatl9a0",
server: false
config :logger, level: :warning
config :phoenix, :plug_init_mode, :runtime
config :phoenix,
sort_verified_routes_query_params: true
config :provider_service, ProviderService.Application,
event_store: [
adapter: Commanded.EventStore.Adapters.InMemory,
serializer: Commanded.Serialization.JsonSerializer
]