init commit
This commit is contained in:
24
config/test.exs
Normal file
24
config/test.exs
Normal file
@@ -0,0 +1,24 @@
|
||||
import Config
|
||||
|
||||
config :workload_service, WorkloadService.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
hostname: "localhost",
|
||||
database: "workload_service_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||
pool: Ecto.Adapters.SQL.Sandbox,
|
||||
pool_size: System.schedulers_online() * 2
|
||||
|
||||
config :workload_service, WorkloadServiceWeb.Endpoint,
|
||||
http: [ip: {127, 0, 0, 1}, port: 4002],
|
||||
secret_key_base: "workload_test_secret_key_base_at_least_64_bytes_long_for_testing",
|
||||
server: false
|
||||
|
||||
config :logger, level: :warning
|
||||
|
||||
config :phoenix, :plug_init_mode, :runtime
|
||||
|
||||
config :workload_service, WorkloadService.Application,
|
||||
event_store: [
|
||||
adapter: Commanded.EventStore.Adapters.InMemory,
|
||||
serializer: Commanded.Serialization.JsonSerializer
|
||||
]
|
||||
Reference in New Issue
Block a user