提交 cf19cee5 编写于 作者: M Mislav Marohnić

[test] The debugging proxy cucumber step is not available anymore

Go's official proxy implementation doesn't allow any proxy configuration
from environment variables to be applied to requests to `localhost`.
上级 26330265
......@@ -157,12 +157,6 @@ Given(/^the GitHub API server:$/) do |endpoints_str|
set_environment_variable 'HUB_TEST_HOST', "http://127.0.0.1:#{@server.port}"
end
Given(/^I use a debugging proxy(?: at "(.+?)")?$/) do |address|
address ||= 'localhost:8888'
set_environment_variable 'HTTP_PROXY', address
set_environment_variable 'HTTPS_PROXY', address
end
Then(/^shell$/) do
cd('.') do
system '/bin/bash -i'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册