projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into issue/2099
[akkoma]
/
test
/
web
/
mastodon_api
/
views
/
account_view_test.exs
diff --git
a/test/web/mastodon_api/views/account_view_test.exs
b/test/web/mastodon_api/views/account_view_test.exs
index 68a5d0091ba34ccf7e46a880bfd71a7c2eed8d4b..a54b765efdb8a110349d5f01781292a6e0b9d399 100644
(file)
--- a/
test/web/mastodon_api/views/account_view_test.exs
+++ b/
test/web/mastodon_api/views/account_view_test.exs
@@
-68,7
+68,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
sensitive: false,
pleroma: %{
actor_type: "Person",
sensitive: false,
pleroma: %{
actor_type: "Person",
- discoverable:
fals
e
+ discoverable:
tru
e
},
fields: []
},
},
fields: []
},
@@
-116,9
+116,6
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
end
end
end
end
- test "Favicon when :instance_favicons is enabled" do
- end
-
test "Represent the user account for the account owner" do
user = insert(:user)
test "Represent the user account for the account owner" do
user = insert(:user)
@@
-169,7
+166,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
sensitive: false,
pleroma: %{
actor_type: "Service",
sensitive: false,
pleroma: %{
actor_type: "Service",
- discoverable:
fals
e
+ discoverable:
tru
e
},
fields: []
},
},
fields: []
},
@@
-451,7
+448,7
@@
defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
test "shows unread_count only to the account owner" do
user = insert(:user)
test "shows unread_count only to the account owner" do
user = insert(:user)
- insert_list(7, :notification, user: user)
+ insert_list(7, :notification, user: user
, activity: insert(:note_activity)
)
other_user = insert(:user)
user = User.get_cached_by_ap_id(user.ap_id)
other_user = insert(:user)
user = User.get_cached_by_ap_id(user.ap_id)