fix: change httpbin.org from http to https

This commit is contained in:
lilong.129
2023-04-18 20:14:40 +08:00
parent b6cf074bb5
commit d636f0cd3c
8 changed files with 19 additions and 17 deletions

View File

@@ -63,7 +63,7 @@ func assertRunTestCases(t *testing.T) {
refCase := TestCasePath(demoTestCaseWithPluginJSONPath)
testcase1 := &TestCase{
Config: NewConfig("TestCase1").
SetBaseURL("http://httpbin.org"),
SetBaseURL("https://httpbin.org"),
TestSteps: []IStep{
NewStep("testcase1-step1").
GET("/headers").
@@ -77,7 +77,7 @@ func assertRunTestCases(t *testing.T) {
AssertEqual("headers.\"Content-Type\"", "application/json", "check http response Content-Type"),
NewStep("testcase1-step3").CallRefCase(
&TestCase{
Config: NewConfig("testcase1-step3-ref-case").SetBaseURL("http://httpbin.org"),
Config: NewConfig("testcase1-step3-ref-case").SetBaseURL("https://httpbin.org"),
TestSteps: []IStep{
NewStep("ip").
GET("/ip").