diff options
author | lain <lain@soykaf.club> | 2018-09-08 14:02:38 +0200 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-11-01 09:01:43 +0000 |
commit | 1e9ced5af478ba38c9e9d46140891a8f4473e02d (patch) | |
tree | 95e61013630aed3b29996bf226572d163d482fbc /test/web/activity_pub/relay_test.exs | |
parent | e6ec01afb648cb99e5fc4db3a64fe1ed74fd0105 (diff) | |
download | pleroma-1e9ced5af478ba38c9e9d46140891a8f4473e02d.tar.gz pleroma-1e9ced5af478ba38c9e9d46140891a8f4473e02d.zip |
Test Relay, switch to runtime configuration.
Diffstat (limited to 'test/web/activity_pub/relay_test.exs')
-rw-r--r-- | test/web/activity_pub/relay_test.exs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/web/activity_pub/relay_test.exs b/test/web/activity_pub/relay_test.exs new file mode 100644 index 000000000..41d13e055 --- /dev/null +++ b/test/web/activity_pub/relay_test.exs @@ -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 |