diff options
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: ') |