diff options
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/runtime/api/request.rb | 2 | ||||
-rw-r--r-- | qa/qa/runtime/fixtures.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/runtime/api/request.rb b/qa/qa/runtime/api/request.rb index af19187e1df..724b499d32f 100644 --- a/qa/qa/runtime/api/request.rb +++ b/qa/qa/runtime/api/request.rb @@ -12,7 +12,7 @@ module QA @session_address = Runtime::Address.new(api_client.address, request_path) end - def safe_url + def mask_url @session_address.address.sub(/private_token=.*/, "private_token=[****]") end diff --git a/qa/qa/runtime/fixtures.rb b/qa/qa/runtime/fixtures.rb index 431fd307e86..02cecffd4df 100644 --- a/qa/qa/runtime/fixtures.rb +++ b/qa/qa/runtime/fixtures.rb @@ -12,7 +12,7 @@ module QA response = get(request.url) unless response.code == HTTP_STATUS_OK - raise TemplateNotFoundError, "Template at #{request.safe_url} could not be found (#{response.code}): `#{response}`." + raise TemplateNotFoundError, "Template at #{request.mask_url} could not be found (#{response.code}): `#{response}`." end parse_body(response)[:content] |