summaryrefslogtreecommitdiff
path: root/test/support/test_router.ex
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/test_router.ex')
-rw-r--r--test/support/test_router.ex10
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