diff options
author | lain <lain@soykaf.club> | 2019-04-10 09:34:53 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-04-10 15:01:42 +0200 |
commit | d1da6b155ab758ae4eb8fa154997a0a2a179897c (patch) | |
tree | 3a52029fa49619db4dff6db41933d623f07d0bae /test/conversation_test.exs | |
parent | b5cecebbc14c80d08f1a9f541722218c48dc514f (diff) | |
download | pleroma-d1da6b155ab758ae4eb8fa154997a0a2a179897c.tar.gz pleroma-d1da6b155ab758ae4eb8fa154997a0a2a179897c.zip |
Conversation: Add Conversations and Participations.
Diffstat (limited to 'test/conversation_test.exs')
-rw-r--r-- | test/conversation_test.exs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/conversation_test.exs b/test/conversation_test.exs new file mode 100644 index 000000000..8fb55d51c --- /dev/null +++ b/test/conversation_test.exs @@ -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 |