diff --git a/test/web/mastodon_api/views/.account_view_test.exs.swp b/test/web/mastodon_api/views/.account_view_test.exs.swp new file mode 100644 index 000000000..5b4f858d7 Binary files /dev/null and b/test/web/mastodon_api/views/.account_view_test.exs.swp differ diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs index af88841ed..e35fa5fa6 100644 --- a/test/web/mastodon_api/views/account_view_test.exs +++ b/test/web/mastodon_api/views/account_view_test.exs @@ -193,6 +193,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do {:ok, other_user} = User.subscribe(user, other_user) {:ok, user} = User.mute(user, other_user, true) {:ok, user} = CommonAPI.hide_reblogs(user, other_user) + {:ok, user} = User.whitelist(user, other_user) expected = %{ id: to_string(other_user.id), @@ -206,6 +207,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do requested: false, domain_blocking: false, showing_reblogs: false, + whitelisting: true, endorsed: false } @@ -234,6 +236,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do requested: false, domain_blocking: false, showing_reblogs: true, + whitelisting: false, endorsed: false } @@ -271,6 +274,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do requested: true, domain_blocking: false, showing_reblogs: true, + whitelisting: false, endorsed: false } @@ -344,6 +348,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do requested: false, domain_blocking: false, showing_reblogs: true, + whitelisting: false, endorsed: false }, skip_thread_containment: false