projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing trailing space on empty line in OAuth controller
[akkoma]
/
test
/
support
/
factory.ex
diff --git
a/test/support/factory.ex
b/test/support/factory.ex
index 5c4e65c81b46e549663b14e9ba6f24b3e309a4e8..c267dba4ef41140f404ae2902662197c086b37aa 100644
(file)
--- a/
test/support/factory.ex
+++ b/
test/support/factory.ex
@@
-191,8
+191,8
@@
defmodule Pleroma.Factory do
end
def article_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
end
def tombstone_factory do