Merge branch 'feature/new-user-routes' into 'develop'
[akkoma] / test / support / captcha_mock.ex
1 defmodule Pleroma.Captcha.Mock do
2 alias Pleroma.Captcha.Service
3 @behaviour Service
4
5 @impl Service
6 def new(), do: %{type: :mock}
7
8 @impl Service
9 def validate(_token, _captcha), do: true
10
11 @impl Service
12 def cleanup(), do: :ok
13 end