Column was renamed in 12.2
This commit is contained in:
parent
e0826b0cb5
commit
d1de6fd4d8
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue