Fix warnings in object tests

This commit is contained in:
rinpatch 2019-04-17 12:27:29 +03:00
commit dda4e0e2a8
2 changed files with 3 additions and 5 deletions

View file

@ -3,7 +3,6 @@ defmodule Pleroma.Object.ContainmentTest do
alias Pleroma.User
alias Pleroma.Object.Containment
alias Pleroma.Web.ActivityPub.ActivityPub
import Pleroma.Factory
@ -45,7 +44,7 @@ defmodule Pleroma.Object.ContainmentTest do
end
test "users cannot be collided through fake direction spoofing attempts" do
user =
_user =
insert(:user, %{
nickname: "rye@niu.moe",
local: false,