debianize-mobilizon/test/federation/activity_pub/relay_test.exs

16 lines
403 B
Elixir
Raw Normal View History

# Pleroma: A lightweight social networking server
# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
2020-01-22 02:14:42 +01:00
defmodule Mobilizon.Federation.ActivityPub.RelayTest do
use Mobilizon.DataCase
2020-01-22 02:14:42 +01:00
alias Mobilizon.Federation.ActivityPub.Relay
test "gets an actor for the relay" do
actor = Relay.get_actor()
assert actor.url =~ "/relay"
end
end