Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20893 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/5.0.0
@@ -392,6 +392,11 @@ module Redmine | |||
end | |||
class IntegrationTest < ActionDispatch::IntegrationTest | |||
def setup | |||
ActionMailer::MailDeliveryJob.disable_test_adapter | |||
super | |||
end | |||
def log_user(login, password) | |||
User.anonymous | |||
get "/login" |