mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-05-19 18:18:07 +00:00
Add test for relay actor type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
2102ff82fa
commit
2113b28f69
|
@ -24,6 +24,11 @@ defmodule Pleroma.Web.ActivityPub.RelayTest do
|
|||
assert User.invisible?(user)
|
||||
end
|
||||
|
||||
test "relay actor is of type Application" do
|
||||
user = Relay.get_actor()
|
||||
assert user.actor_type == "Application"
|
||||
end
|
||||
|
||||
describe "follow/1" do
|
||||
test "returns errors when user not found" do
|
||||
assert capture_log(fn ->
|
||||
|
|
Loading…
Reference in a new issue