mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
TopicsTest: Small addition.
This commit is contained in:
parent
329aa19c9f
commit
cb3cd3a761
1 changed files with 7 additions and 0 deletions
|
@ -104,6 +104,13 @@ defmodule Pleroma.Activity.Ir.TopicsTest do
|
|||
|
||||
assert Enum.member?(topics, "public:remote:lain.com")
|
||||
end
|
||||
|
||||
test "local action doesn't produce public:remote topic", %{activity: activity} do
|
||||
activity = %{activity | local: true, actor: "https://lain.com/users/lain"}
|
||||
topics = Topics.get_activity_topics(activity)
|
||||
|
||||
refute Enum.member?(topics, "public:remote:lain.com")
|
||||
end
|
||||
end
|
||||
|
||||
describe "public visibility create events with attachments" do
|
||||
|
|
Loading…
Reference in a new issue