projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify notification filtering settings further
[akkoma]
/
test
/
web
/
mastodon_api
/
views
/
status_view_test.exs
diff --git
a/test/web/mastodon_api/views/status_view_test.exs
b/test/web/mastodon_api/views/status_view_test.exs
index 43e3bdca12163c639827421b5052741fed886474..5cbadf0fcc6703e856916df95c1d074328dd45eb 100644
(file)
--- a/
test/web/mastodon_api/views/status_view_test.exs
+++ b/
test/web/mastodon_api/views/status_view_test.exs
@@
-442,7
+442,7
@@
defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
user = insert(:user)
activity = insert(:note_activity)
user = insert(:user)
activity = insert(:note_activity)
- {:ok, reblog
, _
} = CommonAPI.repeat(activity.id, user)
+ {:ok, reblog} = CommonAPI.repeat(activity.id, user)
represented = StatusView.render("show.json", %{for: user, activity: reblog})
represented = StatusView.render("show.json", %{for: user, activity: reblog})
@@
-600,7
+600,7
@@
defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
status: "˙˙ɐʎns"
})
status: "˙˙ɐʎns"
})
- {:ok, activity
, _object
} = CommonAPI.repeat(activity.id, other_user)
+ {:ok, activity} = CommonAPI.repeat(activity.id, other_user)
result = StatusView.render("show.json", %{activity: activity, for: user})
result = StatusView.render("show.json", %{activity: activity, for: user})