If we have to many failed logins, we need to handle another error message.

This commit is contained in:
Martin Edenhofer 2015-08-24 09:37:50 +02:00
parent 720a950d7f
commit 147a6723c0

View file

@ -348,7 +348,7 @@ puts "DEBUG #{result.inspect}"
if !result[:message_human].empty? if !result[:message_human].empty?
assert_equal('Authentication failed!', result[:message_human]) assert_equal('Authentication failed!', result[:message_human])
else else
assert_match(/Web login required/, result[:message]) assert_match(/Please log in with your web browser and then try again/, result[:message])
end end
assert_equal('smtp.gmail.com', result[:settings][:options][:host]) assert_equal('smtp.gmail.com', result[:settings][:options][:host])