summaryrefslogtreecommitdiff
path: root/config/test.exs
blob: ed148577933a1fb611eb194c1f249f1f2211883b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use Mix.Config

# We don't run a server during test. If one is required,
# you can enable the server option below.
config :matrix_app_service, MatrixAppServiceWeb.Endpoint,
  http: [port: 4002],
  server: false

# Print only warnings and errors during test
config :logger, level: :warn

config :matrix_app_service,
  internal_supervisor: true,
  transaction_adapter: MatrixAppService.TestTransactionAdapter,
  room_adapter: MatrixAppService.TestRoomAdapter,
  user_adapter: MatrixAppService.TestUserAdapter,
  homeserver_token: "homeserver token",
  access_token: "homeserver token",
  base_url: "http://homeserver"