From 2113b28f69bbc6d950289c14aed55cc76a906e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Fri, 11 Aug 2023 14:23:45 +0200 Subject: [PATCH] Add test for relay actor type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- test/pleroma/web/activity_pub/relay_test.exs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/pleroma/web/activity_pub/relay_test.exs b/test/pleroma/web/activity_pub/relay_test.exs index ec9b0f09a..f73ee59ea 100644 --- a/test/pleroma/web/activity_pub/relay_test.exs +++ b/test/pleroma/web/activity_pub/relay_test.exs @@ -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 ->