projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hack to fix tests not passing. Unclear why the filters are being set to nil.
[akkoma]
/
test
/
mix
/
tasks
/
pleroma
/
user_test.exs
diff --git
a/test/mix/tasks/pleroma/user_test.exs
b/test/mix/tasks/pleroma/user_test.exs
index de8ab27e5451826f610802317262432fc280dfb5..9f898d8f35aeb42fcef676be554369429dc43df3 100644
(file)
--- a/
test/mix/tasks/pleroma/user_test.exs
+++ b/
test/mix/tasks/pleroma/user_test.exs
@@
-114,7
+114,7
@@
defmodule Mix.Tasks.Pleroma.UserTest do
{:ok, post} = CommonAPI.post(user, %{status: "uguu"})
{:ok, post2} = CommonAPI.post(user2, %{status: "test"})
{:ok, post} = CommonAPI.post(user, %{status: "uguu"})
{:ok, post2} = CommonAPI.post(user2, %{status: "test"})
- obj = Object.normalize(post2)
+ obj = Object.normalize(post2
, fetch: false
)
{:ok, like_object, meta} = Pleroma.Web.ActivityPub.Builder.like(user, obj)
{:ok, like_object, meta} = Pleroma.Web.ActivityPub.Builder.like(user, obj)
@@
-130,7
+130,7
@@
defmodule Mix.Tasks.Pleroma.UserTest do
clear_config([:instance, :federating], true)
clear_config([:instance, :federating], true)
- object = Object.normalize(post)
+ object = Object.normalize(post
, fetch: false
)
Object.prune(object)
with_mock Pleroma.Web.Federator,
Object.prune(object)
with_mock Pleroma.Web.Federator,