refactor User#validate_sock_puppet to disable for tests

This commit is contained in:
r888888888
2018-01-02 14:32:38 -08:00
parent ed948ad655
commit 4a80d6c337
18 changed files with 9 additions and 28 deletions

View File

@@ -563,6 +563,11 @@ module Danbooru
false
end
# disable this for tests
def enable_sock_puppet_validation?
true
end
# reportbooru options - see https://github.com/r888888888/reportbooru
def reportbooru_server
end