瀏覽代碼

Remove unused test

tags/v0.9.9
Maxim Filippov 5 年之前
父節點
當前提交
aeb89bece6
共有 1 個檔案被更改,包括 0 行新增19 行删除
  1. +0
    -19
      test/web/mastodon_api/mastodon_api_controller_test.exs

+ 0
- 19
test/web/mastodon_api/mastodon_api_controller_test.exs 查看文件

@@ -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


Loading…
取消
儲存