projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into match-file-name
[akkoma]
/
test
/
support
/
builders
/
activity_builder.ex
diff --git
a/test/support/builders/activity_builder.ex
b/test/support/builders/activity_builder.ex
index d9c188955420650578778a7b3ba1d2b62abe6279..6e5a8e0594aab4a41e2980837aceca7b6158899e 100644
(file)
--- a/
test/support/builders/activity_builder.ex
+++ b/
test/support/builders/activity_builder.ex
@@
-1,5
+1,4
@@
defmodule Pleroma.Builders.ActivityBuilder do
defmodule Pleroma.Builders.ActivityBuilder do
- alias Pleroma.Builders.UserBuilder
alias Pleroma.Web.ActivityPub.ActivityPub
def build(data \\ %{}, opts \\ %{}) do
alias Pleroma.Web.ActivityPub.ActivityPub
def build(data \\ %{}, opts \\ %{}) do
@@
-26,7
+25,7
@@
defmodule Pleroma.Builders.ActivityBuilder do
end
def insert_list(times, data \\ %{}, opts \\ %{}) do
end
def insert_list(times, data \\ %{}, opts \\ %{}) do
- Enum.map(1..times, fn n ->
+ Enum.map(1..times, fn
_
n ->
{:ok, activity} = insert(data, opts)
activity
end)
{:ok, activity} = insert(data, opts)
activity
end)