Merge pull request #6556 from cli/time-zone-test
Normalize time-zone headers in tests
This commit is contained in:
commit
63a64ee4f0
1 changed files with 1 additions and 0 deletions
|
|
@ -182,6 +182,7 @@ func TestNewHTTPClient(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
|
||||
req, err := http.NewRequest("GET", ts.URL, nil)
|
||||
req.Header.Set("time-zone", "Europe/Amsterdam")
|
||||
req.Host = tt.host
|
||||
require.NoError(t, err)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue