Test Relay, switch to runtime configuration.
This commit is contained in:
parent
e6ec01afb6
commit
1e9ced5af4
6 changed files with 99 additions and 8 deletions
11
test/web/activity_pub/relay_test.exs
Normal file
11
test/web/activity_pub/relay_test.exs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
defmodule Pleroma.Web.ActivityPub.RelayTest do
|
||||
use Pleroma.DataCase
|
||||
|
||||
alias Pleroma.Web.ActivityPub.Relay
|
||||
|
||||
test "gets an actor for the relay" do
|
||||
user = Relay.get_actor()
|
||||
|
||||
assert user.ap_id =~ "/relay"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue