|> Builder.add_param(:query, :query, params)
|> Builder.convert_to_keyword()
end
-
- defp adapter_middlewares(_) do
- if Pleroma.Config.get(:env) == :test do
- # Emulate redirects in test env, which are handled by adapters in other environments
- [Tesla.Middleware.FollowRedirects]
- else
- []
- end
- end
end
assert not called(
Pleroma.Web.Federator.Publisher.enqueue_one(Publisher, %{
- inbox: "https://rejected.com/users/nick1/inbox",
+ inbox: "https://rejected.com/users/nick2/inbox",
actor_id: actor.id,
id: public_note_activity.data["id"]
})