Commit 339d789c4787f5eaf00cae313d535494a0067404
Exists in
theme-brasil-digital-from-staging
and in
9 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 | 267 | } |
268 | 268 | params = {} |
269 | 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 | 271 | end |
272 | 272 | |
273 | 273 | should 'verify if Serpro\' captcha token has been sent' do | ... | ... |