test(workers): replace publisher mocks with Mox
This commit is contained in:
parent
1a48466b85
commit
0070b13130
4 changed files with 70 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue