Commit d1de6fd4 authored by Thong Kuah's avatar Thong Kuah

Column was renamed in 12.2

parent e0826b0c
...@@ -40,7 +40,7 @@ module RestClient ...@@ -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
......
...@@ -101,7 +101,7 @@ describe 'rest-client dns rebinding protection' do ...@@ -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
......
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