X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fsupport%2Fcaptcha_mock.ex;h=ef4e68bc554bb066f72f2d858d7e2cdc2f6f9faf;hb=6c06529cd4549fca3ba4b1de72838240463f8306;hp=3ab02916f19b1a62dc2a700fbbb3896258450dab;hpb=89fbed88212657e3dcd4bbcb2c0718b07802037f;p=akkoma diff --git a/test/support/captcha_mock.ex b/test/support/captcha_mock.ex index 3ab02916f..ef4e68bc5 100644 --- a/test/support/captcha_mock.ex +++ b/test/support/captcha_mock.ex @@ -7,11 +7,8 @@ defmodule Pleroma.Captcha.Mock do @behaviour Service @impl Service - def new(), do: %{type: :mock} + def new, do: %{type: :mock} @impl Service - def validate(_token, _captcha), do: true - - @impl Service - def cleanup(), do: :ok + def validate(_token, _captcha, _data), do: :ok end