AdminApiControllerTest unused variables fix.

This commit is contained in:
Ivan Tashkinov 2019-04-08 12:32:55 +03:00
parent bffddf5e31
commit 44829d9181

View File

@ -80,7 +80,6 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
user = insert(:user) user = insert(:user)
follower = insert(:user) follower = insert(:user)
conn =
build_conn() build_conn()
|> assign(:user, admin) |> assign(:user, admin)
|> put_req_header("accept", "application/json") |> put_req_header("accept", "application/json")
@ -104,7 +103,6 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
User.follow(follower, user) User.follow(follower, user)
conn =
build_conn() build_conn()
|> assign(:user, admin) |> assign(:user, admin)
|> put_req_header("accept", "application/json") |> put_req_header("accept", "application/json")