From 147a6723c009049e3a3f0e540f7e9c6eb61e87cc Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 24 Aug 2015 09:37:50 +0200 Subject: [PATCH] If we have to many failed logins, we need to handle another error message. --- test/unit/email_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/email_helper_test.rb b/test/unit/email_helper_test.rb index b49bcc37d..064740891 100644 --- a/test/unit/email_helper_test.rb +++ b/test/unit/email_helper_test.rb @@ -348,7 +348,7 @@ puts "DEBUG #{result.inspect}" if !result[:message_human].empty? assert_equal('Authentication failed!', result[:message_human]) else - assert_match(/Web login required/, result[:message]) + assert_match(/Please log in with your web browser and then try again/, result[:message]) end assert_equal('smtp.gmail.com', result[:settings][:options][:host])