mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
factory: Fix article_factory
This commit is contained in:
parent
7c5e007b9c
commit
5c3a0dd26e
1 changed files with 2 additions and 2 deletions
|
@ -191,8 +191,8 @@ defmodule Pleroma.Factory do
|
||||||
end
|
end
|
||||||
|
|
||||||
def article_factory do
|
def article_factory do
|
||||||
note_factory()
|
%Pleroma.Object{data: data} = note_factory()
|
||||||
|> Map.put("type", "Article")
|
%Pleroma.Object{data: Map.merge(data, %{"type" => "Article"})}
|
||||||
end
|
end
|
||||||
|
|
||||||
def tombstone_factory do
|
def tombstone_factory do
|
||||||
|
|
Loading…
Reference in a new issue