[#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added...
[akkoma] / test / support / captcha_mock.ex
index 9d79f2e956f59de2d9f91430ff2ef3a2b8799ca7..3ab02916f19b1a62dc2a700fbbb3896258450dab 100644 (file)
@@ -1,3 +1,7 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
 defmodule Pleroma.Captcha.Mock do
   alias Pleroma.Captcha.Service
   @behaviour Service
@@ -7,4 +11,7 @@ defmodule Pleroma.Captcha.Mock do
 
   @impl Service
   def validate(_token, _captcha), do: true
+
+  @impl Service
+  def cleanup(), do: :ok
 end