diff options
author | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-10-19 18:04:56 +0000 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-10-19 18:04:56 +0000 |
commit | 4c0fb5e1c89eb7d83eb46ce992bbb8b7b5b80130 (patch) | |
tree | 584a3f3100dc76bb9f7a58e4330d5a866c784d68 /test/support/test_router.ex | |
parent | Merge branch 'test-ci' into 'master' (diff) | |
parent | test: add tests for controllers (diff) |
Merge branch 'controller_tests' into 'master'
test: add tests for controllers (closes #4)
Closes #4
See merge request kazarma/matrix_app_service.ex!8
Diffstat (limited to 'test/support/test_router.ex')
-rw-r--r-- | test/support/test_router.ex | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/support/test_router.ex b/test/support/test_router.ex new file mode 100644 index 0000000..3bbad03 --- /dev/null +++ b/test/support/test_router.ex @@ -0,0 +1,10 @@ +defmodule MatrixAppServiceWeb.TestRouter do + require MatrixAppServiceWeb.Router + + use Phoenix.Router + + import Plug.Conn + import Phoenix.Controller + + MatrixAppServiceWeb.Router.routes() +end |