projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#3213] Performance-related stat in HashtagsTableMigrator. Reworked `count/_` to...
[akkoma]
/
test
/
pleroma
/
captcha_test.exs
diff --git
a/test/pleroma/captcha_test.exs
b/test/pleroma/captcha_test.exs
index 1b9f4a12f5be8b3055cc2d49fb7ad492db7da429..5691c9506e40a3cffa085101cdaee76712a424d9 100644
(file)
--- a/
test/pleroma/captcha_test.exs
+++ b/
test/pleroma/captcha_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.CaptchaTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.CaptchaTest do
@@
-80,7
+80,6
@@
defmodule Pleroma.CaptchaTest do
assert is_binary(answer)
assert :ok = Captcha.validate(token, "63615261b77f5354fb8c4e4986477555", answer)
assert is_binary(answer)
assert :ok = Captcha.validate(token, "63615261b77f5354fb8c4e4986477555", answer)
- Cachex.del(:used_captcha_cache, token)
end
test "doesn't validate invalid answer" do
end
test "doesn't validate invalid answer" do