projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
create_service_actor is now type Application
[akkoma]
/
test
/
pleroma
/
web
/
activity_pub
/
relay_test.exs
diff --git
a/test/pleroma/web/activity_pub/relay_test.exs
b/test/pleroma/web/activity_pub/relay_test.exs
index d6de7d61e9a5832c45e5e5013ef91c36129aa6f7..0bbfc316b905fabc7aba7292441cdccf46aa9f48 100644
(file)
--- a/
test/pleroma/web/activity_pub/relay_test.exs
+++ b/
test/pleroma/web/activity_pub/relay_test.exs
@@
-19,6
+19,12
@@
defmodule Pleroma.Web.ActivityPub.RelayTest do
assert user.ap_id == "#{Pleroma.Web.Endpoint.url()}/relay"
end
assert user.ap_id == "#{Pleroma.Web.Endpoint.url()}/relay"
end
+ test "relay actor is an application" do
+ # See <https://www.w3.org/TR/activitystreams-vocabulary/#dfn-application>
+ user = Relay.get_actor()
+ assert user.actor_type == "Application"
+ end
+
test "relay actor is invisible" do
user = Relay.get_actor()
assert User.invisible?(user)
test "relay actor is invisible" do
user = Relay.get_actor()
assert User.invisible?(user)