mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-23 21:39:18 -04:00
fix relationship view tests
This commit is contained in:
parent
c5a7b8ad98
commit
0c79869932
2 changed files with 5 additions and 0 deletions
BIN
test/web/mastodon_api/views/.account_view_test.exs.swp
Normal file
BIN
test/web/mastodon_api/views/.account_view_test.exs.swp
Normal file
Binary file not shown.
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue