diff options
author | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-10-19 20:01:38 +0200 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-10-19 20:01:38 +0200 |
commit | 118649055fae9a6041b6f07ab5485187593da3c7 (patch) | |
tree | 584a3f3100dc76bb9f7a58e4330d5a866c784d68 /config | |
parent | Merge branch 'test-ci' into 'master' (diff) |
test: add tests for controllers
Diffstat (limited to 'config')
-rw-r--r-- | config/test.exs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/test.exs b/config/test.exs index aa8991c..61436fd 100644 --- a/config/test.exs +++ b/config/test.exs @@ -8,3 +8,9 @@ config :matrix_app_service, MatrixAppServiceWeb.Endpoint, # Print only warnings and errors during test config :logger, level: :warn + +config :matrix_app_service, + transaction_adapter: MatrixAppService.TestTransactionAdapter, + room_adapter: MatrixAppService.TestRoomAdapter, + user_adapter: MatrixAppService.TestUserAdapter, + homeserver_token: "homeserver token" |