diff options
Diffstat (limited to 'test/list_test.exs')
-rw-r--r-- | test/list_test.exs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/list_test.exs b/test/list_test.exs index 19eef8f6b..2ab822815 100644 --- a/test/list_test.exs +++ b/test/list_test.exs @@ -1,9 +1,8 @@ defmodule Pleroma.ListTest do - alias Pleroma.{User, Repo} + alias Pleroma.Repo use Pleroma.DataCase import Pleroma.Factory - import Ecto.Query test "creating a list" do user = insert(:user) @@ -32,7 +31,7 @@ defmodule Pleroma.ListTest do user = insert(:user) other_user = insert(:user) {:ok, list} = Pleroma.List.create("title", user) - {:ok, %{following: following}} = Pleroma.List.follow(list, other_user) + {:ok, %{following: _following}} = Pleroma.List.follow(list, other_user) {:ok, %{following: following}} = Pleroma.List.unfollow(list, other_user) assert [] == following end |