Add tests for account registration with captcha enabled and improve errors
authorEgor Kislitsyn <egor@kislitsyn.com>
Wed, 29 Apr 2020 16:48:08 +0000 (20:48 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 29 Apr 2020 17:26:07 +0000 (21:26 +0400)
commit7b0c8f0fde495e50c5434575c452addeace39e60
treefd4ba0c2f80b9b787324670ca949529b25f98477
parent2f77842bd3c07d915cd341f7d3ba1f9053cc3a18
Add tests for account registration with captcha enabled and improve errors
lib/pleroma/captcha/captcha.ex
lib/pleroma/captcha/kocaptcha.ex
lib/pleroma/captcha/native.ex
lib/pleroma/web/mastodon_api/controllers/account_controller.ex
lib/pleroma/web/twitter_api/twitter_api.ex
test/captcha_test.exs
test/support/captcha_mock.ex
test/web/mastodon_api/controllers/account_controller_test.exs
test/web/twitter_api/twitter_api_test.exs