tests: add legal boilerplate
[akkoma] / test / web / activity_pub / relay_test.exs
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.ActivityPub.RelayTest do
6 use Pleroma.DataCase
7
8 alias Pleroma.Web.ActivityPub.Relay
9
10 test "gets an actor for the relay" do
11 user = Relay.get_actor()
12
13 assert user.ap_id =~ "/relay"
14 end
15 end