Update shortdoc description
[akkoma] / test / conversation_test.exs
index 59368b0e7dba3f86ef4dbcc01e373235c670baa7..cdec18f0f2f68dbe3d1cc3df0d024438f73e6fe7 100644 (file)
@@ -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