Remove unused test

This commit is contained in:
Maxim Filippov 2018-12-25 03:38:02 +03:00
parent f75f707f6c
commit aeb89bece6

View file

@ -308,25 +308,6 @@ test "when you didn't create it", %{conn: conn} do
assert Repo.get(Activity, activity.id) == activity assert Repo.get(Activity, activity.id) == activity
end 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 end
describe "filters" do describe "filters" do