Column was renamed in 12.2

This commit is contained in:
Thong Kuah 2019-08-21 11:59:58 +12:00
parent e0826b0cb5
commit d1de6fd4d8
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ module RestClient
end end
def allow_settings_local_requests? def allow_settings_local_requests?
Gitlab::CurrentSettings.allow_local_requests_from_hooks_and_services? Gitlab::CurrentSettings.allow_local_requests_from_web_hooks_and_services?
end end
end end

View file

@ -101,7 +101,7 @@ describe 'rest-client dns rebinding protection' do
context 'when local requests are allowed' do context 'when local requests are allowed' do
before do before do
stub_application_setting(allow_local_requests_from_hooks_and_services: true) stub_application_setting(allow_local_requests_from_web_hooks_and_services: true)
end end
it 'allows an external request' do it 'allows an external request' do