summaryrefslogtreecommitdiff
path: root/test/conversation_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/conversation_test.exs')
-rw-r--r--test/conversation_test.exs12
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