aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/conversation_test.exs4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/conversation_test.exs b/test/conversation_test.exs
index 59368b0e7..cdec18f0f 100644
--- a/test/conversation_test.exs
+++ b/test/conversation_test.exs
@@ -24,7 +24,9 @@ defmodule Pleroma.ConversationTest do
Conversation.bump_for_all_activities()
assert Repo.one(Conversation)
- assert length(Repo.all(Conversation.Participation)) == 2
+ [participation, _p2] = Repo.all(Conversation.Participation)
+
+ assert participation.read
end
test "it creates a conversation for given ap_id" do