Add test for relay actor type

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2023-08-11 14:23:45 +02:00
parent 2102ff82fa
commit 2113b28f69

View file

@ -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 ->