projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: chase remote/local removal
[akkoma]
/
test
/
web
/
mastodon_api
/
account_view_test.exs
diff --git
a/test/web/mastodon_api/account_view_test.exs
b/test/web/mastodon_api/account_view_test.exs
index a24f2a050ff7702a93427340443865de971b29a0..23f25099040eb460bbb11d26038fd2df505cc094 100644
(file)
--- a/
test/web/mastodon_api/account_view_test.exs
+++ b/
test/web/mastodon_api/account_view_test.exs
@@
-55,7
+55,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
fields: [],
bot: false,
source: %{
fields: [],
bot: false,
source: %{
- note: "",
+ note: "
valid html
",
sensitive: false,
pleroma: %{}
},
sensitive: false,
pleroma: %{}
},
@@
-78,10
+78,10
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
user = insert(:user)
notification_settings = %{
user = insert(:user)
notification_settings = %{
- "remote" => true,
- "local" => true,
"followers" => true,
"followers" => true,
- "follows" => true
+ "follows" => true,
+ "non_follows" => true,
+ "non_followers" => true
}
privacy = user.info.default_scope
}
privacy = user.info.default_scope
@@
-120,7
+120,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
fields: [],
bot: true,
source: %{
fields: [],
bot: true,
source: %{
- note:
""
,
+ note:
user.bio
,
sensitive: false,
pleroma: %{}
},
sensitive: false,
pleroma: %{}
},
@@
-209,7
+209,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
fields: [],
bot: true,
source: %{
fields: [],
bot: true,
source: %{
- note:
""
,
+ note:
user.bio
,
sensitive: false,
pleroma: %{}
},
sensitive: false,
pleroma: %{}
},