Commit 339d789c4787f5eaf00cae313d535494a0067404
Exists in
staging
and in
4 other branches
Merge branch 'api_captcha_with_frontend_console_feedback' into api
* api_captcha_with_frontend_console_feedback: fix test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/api/helpers_test.rb
@@ -267,7 +267,7 @@ should 'verify if user filled Serpro\' captcha text' do | @@ -267,7 +267,7 @@ should 'verify if user filled Serpro\' captcha text' do | ||
267 | } | 267 | } |
268 | params = {} | 268 | params = {} |
269 | params[:txtToken_captcha_serpro_gov_br] = '4324343' | 269 | params[:txtToken_captcha_serpro_gov_br] = '4324343' |
270 | - assert_equal(_('Captcha text has not been filled'), test_captcha('127.0.0.1', params, environment)[0]) | 270 | + assert_equal(_('Captcha text has not been filled'), test_captcha('127.0.0.1', params, environment)[0]['message']) |
271 | end | 271 | end |
272 | 272 | ||
273 | should 'verify if Serpro\' captcha token has been sent' do | 273 | should 'verify if Serpro\' captcha token has been sent' do |