projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clears `robot.txt` after tests
[akkoma]
/
test
/
support
/
captcha_mock.ex
diff --git
a/test/support/captcha_mock.ex
b/test/support/captcha_mock.ex
index 3ab02916f19b1a62dc2a700fbbb3896258450dab..65ca6b3bde0381721ecb960c632d3adcf33f739b 100644
(file)
--- a/
test/support/captcha_mock.ex
+++ b/
test/support/captcha_mock.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-201
8
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-201
9
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Captcha.Mock do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Captcha.Mock do
@@
-7,11
+7,8
@@
defmodule Pleroma.Captcha.Mock do
@behaviour Service
@impl Service
@behaviour Service
@impl Service
- def new
()
, do: %{type: :mock}
+ def new, do: %{type: :mock}
@impl Service
@impl Service
- def validate(_token, _captcha), do: true
-
- @impl Service
- def cleanup(), do: :ok
+ def validate(_token, _captcha, _data), do: :ok
end
end