Conversation: Add Conversations and Participations.
This commit is contained in:
parent
b5cecebbc1
commit
d1da6b155a
6 changed files with 127 additions and 0 deletions
|
|
@ -5,6 +5,12 @@
|
|||
defmodule Pleroma.Factory do
|
||||
use ExMachina.Ecto, repo: Pleroma.Repo
|
||||
|
||||
def conversation_factory do
|
||||
%Pleroma.Conversation{
|
||||
ap_id: sequence(:ap_id, &"https://some_conversation/#{&1}")
|
||||
}
|
||||
end
|
||||
|
||||
def user_factory do
|
||||
user = %Pleroma.User{
|
||||
name: sequence(:name, &"Test テスト User #{&1}"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue