diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-04-21 10:46:37 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-04-21 10:46:37 +0100 |
commit | 392a87cfa181a762bf4b3244aa3c6d065ef15253 (patch) | |
tree | 468cb0de2a7554701ae17cc03e01c213bd5676c9 /test/tc_mauve_web_interface.rb | |
parent | 89c47f0aa9acaf5ed9b361e4e9efbbd7e3da8efc (diff) |
Added SSL cert verification for Bytemark Authentication. Also tidied away error
messages generated during login tests in the web_interface.
Diffstat (limited to 'test/tc_mauve_web_interface.rb')
-rw-r--r-- | test/tc_mauve_web_interface.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tc_mauve_web_interface.rb b/test/tc_mauve_web_interface.rb index a120c37..69828e9 100644 --- a/test/tc_mauve_web_interface.rb +++ b/test/tc_mauve_web_interface.rb @@ -150,6 +150,12 @@ EOF assert(last_response.body.include?("Mauve: Login")) assert(session['__FLASH__'].has_key?(:error),"The flash error wasn't set") + # + # This last login attempt produces two warning messages (one for each auth + # type), so pop them both off the logger. + # + logger_pop ; logger_pop + post '/login', :username => 'test1', :password => 'ummVRu7qF' follow_redirect! while last_response.redirect? assert last_response.body.include?('Mauve: ') |