diff options
| author | kaniini <nenolod@gmail.com> | 2018-12-12 07:28:47 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2018-12-12 07:28:47 +0000 |
| commit | 2592b3c81a5af20536c3cc9709e3971d6cfb1e68 (patch) | |
| tree | 89fba8fe2ed33bb25ef554f67e4659e255f81709 /test/list_test.exs | |
| parent | 2999a08e3590c43c623730b0cbf6b93045ac08c1 (diff) | |
| parent | 89b3729afa130a62a47ed6372350ebfc5acb4064 (diff) | |
| download | pleroma-2592b3c81a5af20536c3cc9709e3971d6cfb1e68.tar.gz pleroma-2592b3c81a5af20536c3cc9709e3971d6cfb1e68.zip | |
Merge branch 'support/issue_442' into 'develop'
[#442] fix warnings
See merge request pleroma/pleroma!536
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 |
