test(workers): replace publisher mocks with Mox

This commit is contained in:
Lain Soykaf 2026-07-24 17:43:02 +04:00
commit 0070b13130
No known key found for this signature in database
4 changed files with 70 additions and 58 deletions

View file

@ -3,5 +3,6 @@
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.Federator.Publishing do
@callback perform(atom(), any()) :: :ok | {:ok, any()} | {:error, any()}
@callback publish(map()) :: any()
end