Commit d1de6fd4 authored by Thong Kuah's avatar Thong Kuah

Column was renamed in 12.2

parent e0826b0c
......@@ -40,7 +40,7 @@ module RestClient
end
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
......
......@@ -101,7 +101,7 @@ describe 'rest-client dns rebinding protection' do
context 'when local requests are allowed' 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
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