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 @@ test "allows to force-follow another user" do
user = insert(:user)
follower = insert(:user)
conn =
build_conn()
|> assign(:user, admin)
|> put_req_header("accept", "application/json")
@ -104,7 +103,6 @@ test "allows to force-unfollow another user" do
User.follow(follower, user)
conn =
build_conn()
|> assign(:user, admin)
|> put_req_header("accept", "application/json")