Commit f0288d79 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'nicolasdular-master-patch-46605' into 'master'

Use string instead of integer in test

See merge request gitlab-org/gitlab!38005
parents ebc2c17d 2c1bda68
......@@ -216,7 +216,7 @@ RSpec.describe SessionsController do
before do
stub_application_setting(recaptcha_enabled: true)
request.headers[described_class::CAPTCHA_HEADER] = 1
request.headers[described_class::CAPTCHA_HEADER] = '1'
end
it 'displays an error when the reCAPTCHA is not solved' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment