Browse Source

Fix code scanning alert no. 65: Incomplete regular expression for hostnames

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
pull/2696/head
kosiakkatrina 2 years ago committed by GitHub
parent
commit
e357a5c36f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      spec/requests/lettings_logs_controller_spec.rb

2
spec/requests/lettings_logs_controller_spec.rb

@ -1331,7 +1331,7 @@ RSpec.describe LettingsLogsController, type: :request do
before do before do
lettings_log.save!(validate: false) lettings_log.save!(validate: false)
WebMock.stub_request(:get, /https:\/\/api.os.uk\/search\/places\/v1\/find/) WebMock.stub_request(:get, /https:\/\/api\.os\.uk\/search\/places\/v1\/find/)
.to_return(status: 503, body: "something went wrong", headers: {}) .to_return(status: 503, body: "something went wrong", headers: {})
sign_in user sign_in user
end end

Loading…
Cancel
Save