X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=inline;f=test%2Flist_test.exs;h=e7b23915b073312ddd858bc231fd9af75c7b3a4e;hb=3c0abfca53751624ebd6ea7174ee880d9e7b29e7;hp=8efba75ea31811e13f2f48b01a04cc7edbd95316;hpb=66519f2100c9933b74dc6df52937a18c42961639;p=akkoma
diff --git a/test/list_test.exs b/test/list_test.exs
index 8efba75ea..e7b23915b 100644
--- a/test/list_test.exs
+++ b/test/list_test.exs
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2018 Pleroma Authors
+# Copyright © 2017-2019 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.ListTest do
@@ -113,10 +113,10 @@ defmodule Pleroma.ListTest do
{:ok, not_owned_list} = Pleroma.List.follow(not_owned_list, member_1)
{:ok, not_owned_list} = Pleroma.List.follow(not_owned_list, member_2)
- lists_1 = Pleroma.List.get_lists_account_belongs(owner, member_1.id)
+ lists_1 = Pleroma.List.get_lists_account_belongs(owner, member_1)
assert owned_list in lists_1
refute not_owned_list in lists_1
- lists_2 = Pleroma.List.get_lists_account_belongs(owner, member_2.id)
+ lists_2 = Pleroma.List.get_lists_account_belongs(owner, member_2)
assert owned_list in lists_2
refute not_owned_list in lists_2
end