Conversation: Add Conversations and Participations.
This commit is contained in:
parent
b5cecebbc1
commit
d1da6b155a
6 changed files with 127 additions and 0 deletions
12
test/conversation_test.exs
Normal file
12
test/conversation_test.exs
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue