Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/help-test
[akkoma] / test / web / twitter_api / twitter_api_controller_test.exs
index 3bc4eb700a33073df31cbff3cf0b18f69eb2b1c8..e54177c9414da79f120b289c334bdfaca0dad433 100644 (file)
@@ -157,6 +157,12 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
     end
   end
 
+  describe "GET /help/test.json" do
+    test "returns \"ok\"", %{conn: conn} do
+      conn = get conn, "/api/help/test.json"
+      assert json_response(conn, 200) == "ok"
+  end
+
   describe "POST /api/favorites/create/:id" do
     setup [:valid_user]
     test "without valid credentials", %{conn: conn} do