aboutsummaryrefslogtreecommitdiff
path: root/test/web/controller/frontend/admin_controller_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/web/controller/frontend/admin_controller_test.exs')
-rw-r--r--test/web/controller/frontend/admin_controller_test.exs12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/web/controller/frontend/admin_controller_test.exs b/test/web/controller/frontend/admin_controller_test.exs
new file mode 100644
index 000000000..8375cefdc
--- /dev/null
+++ b/test/web/controller/frontend/admin_controller_test.exs
@@ -0,0 +1,12 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.Web.Frontend.AdminControllerTest do
+ use Pleroma.Web.ConnCase
+
+ test "renders index.html from admin fe", %{conn: conn} do
+ conn = get(conn, frontend_admin_path(conn, :index, []))
+ assert html_response(conn, 200) =~ "test Admin Develop FE"
+ end
+end