summaryrefslogtreecommitdiff
path: root/test/conversation_test.exs
blob: 8fb55d51c368c97d150d1a0b321940acf1c2a060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Pleroma: A lightweight social networking server
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.ConversationTest do
  use Pleroma.DataCase
  alias Pleroma.Conversation

  test "it creates a conversation for given ap_id" do
    assert {:ok, %Conversation{}} = Conversation.create_for_ap_id("https://some_ap_id")
  end
end