Commit b3572c23fa9a3306468a39756bd4584c844cdf55
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'api' into production
* api: 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 | ... | ... |