logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 5c3a0dd26e8ba818388ca6965e71600fd2ec07a1
parent 7c5e007b9c73a52a4c46674bd00ce32640c07cc3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 31 May 2021 10:06:06 +0200

factory: Fix article_factory

Diffstat:

Mtest/support/factory.ex4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/support/factory.ex b/test/support/factory.ex @@ -191,8 +191,8 @@ defmodule Pleroma.Factory do end def article_factory do - note_factory() - |> Map.put("type", "Article") + %Pleroma.Object{data: data} = note_factory() + %Pleroma.Object{data: Map.merge(data, %{"type" => "Article"})} end def tombstone_factory do