This commit is contained in:
27
config/test.exs
Normal file
27
config/test.exs
Normal file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
]
|
||||
Reference in New Issue
Block a user