diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2018-12-11 15:31:52 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2018-12-12 09:09:19 +0300 |
commit | 89b3729afa130a62a47ed6372350ebfc5acb4064 (patch) | |
tree | 89fba8fe2ed33bb25ef554f67e4659e255f81709 /test/list_test.exs | |
parent | 2999a08e3590c43c623730b0cbf6b93045ac08c1 (diff) | |
download | pleroma-89b3729afa130a62a47ed6372350ebfc5acb4064.tar.gz pleroma-89b3729afa130a62a47ed6372350ebfc5acb4064.zip |
fix warnings
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 |