mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-06-02 13:29:25 +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)
|
assert User.invisible?(user)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
test "relay actor is of type Application" do
|
||||||
|
user = Relay.get_actor()
|
||||||
|
assert user.actor_type == "Application"
|
||||||
|
end
|
||||||
|
|
||||||
describe "follow/1" do
|
describe "follow/1" do
|
||||||
test "returns errors when user not found" do
|
test "returns errors when user not found" do
|
||||||
assert capture_log(fn ->
|
assert capture_log(fn ->
|
||||||
|
|
Loading…
Reference in a new issue