Merge branch 'captcha' into 'develop'
[akkoma] / test / support / captcha_mock.ex
index 3ab02916f19b1a62dc2a700fbbb3896258450dab..9061f2b4549cdf4d4001ef2e7a4a231f9df1383e 100644 (file)
@@ -10,8 +10,5 @@ defmodule Pleroma.Captcha.Mock do
   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