Remove unused test
authorMaxim Filippov <colixer@gmail.com>
Tue, 25 Dec 2018 00:38:02 +0000 (03:38 +0300)
committerMaxim Filippov <colixer@gmail.com>
Tue, 25 Dec 2018 00:38:02 +0000 (03:38 +0300)
test/web/mastodon_api/mastodon_api_controller_test.exs

index 23f63372c419be7ad69dfa4da43ddba54fc10f0e..00cf52d69726f948463955410c577591f926e956 100644 (file)
@@ -308,25 +308,6 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do
 
       assert Repo.get(Activity, activity.id) == activity
     end
-
-    # test "404 when making an attempt to get it" do
-    #   activity = insert(:note_activity)
-    #   author = User.get_by_ap_id(activity.data["actor"])
-
-    #   conn =
-    #     conn
-    #     |> assign(:user, author)
-    #     |> delete("/api/v1/statuses/#{activity.id}")
-
-    #   assert %{} = json_response(conn, 200)
-
-    #   conn =
-    #     build_conn()
-    #     |> assign(:user, author)
-    #     |> get("/api/v1/statuses/#{activity.id}")
-
-    #   assert %{} = json_response(conn, 200)
-    # end
   end
 
   describe "filters" do