Skip to content

Commit

Permalink
chore: properly use test server
Browse files Browse the repository at this point in the history
  • Loading branch information
theseion authored and fzipi committed Aug 23, 2023
1 parent 1c3ce2f commit b23cf19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runner/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ func (s *runTestSuite) TestGetRequestFromTestWithAutocompleteHeaders() {
Method: &method,
Headers: ftwhttp.Header{},
DestAddr: &s.dest.DestAddr,
Port: &s.dest.Port,
Protocol: &s.dest.Protocol,
}
request := getRequestFromTest(input)

Expand Down Expand Up @@ -388,6 +390,8 @@ func (s *runTestSuite) TestGetRawRequestFromTestWithAutocompleteHeaders() {
Method: &method,
Headers: ftwhttp.Header{},
DestAddr: &s.dest.DestAddr,
Port: &s.dest.Port,
Protocol: &s.dest.Protocol,
RAWRequest: "POST / HTTP/1.1\r\nHost: localhost\r\nUser-Agent: test\r\n\r\n",
}
request := getRequestFromTest(input)
Expand Down Expand Up @@ -417,6 +421,8 @@ func (s *runTestSuite) TestGetRequestFromTestWithoutAutocompleteHeaders() {
Method: &method,
Headers: ftwhttp.Header{},
DestAddr: &s.dest.DestAddr,
Port: &s.dest.Port,
Protocol: &s.dest.Protocol,
}
request := getRequestFromTest(input)

Expand Down

0 comments on commit b23cf19

Please sign in to comment.