diff --git a/pkg/db/badger/sender_test.go b/pkg/db/badger/sender_test.go index 99810cc..c6477b1 100644 --- a/pkg/db/badger/sender_test.go +++ b/pkg/db/badger/sender_test.go @@ -60,7 +60,7 @@ func TestFindRequestByID(t *testing.T) { URL: exampleURL, Method: http.MethodGet, - Proto: sender.HTTPProto2, + Proto: sender.HTTPProto20, Header: http.Header{ "X-Foo": []string{"bar"}, }, diff --git a/pkg/sender/sender_test.go b/pkg/sender/sender_test.go index e9326a4..253dff8 100644 --- a/pkg/sender/sender_test.go +++ b/pkg/sender/sender_test.go @@ -165,7 +165,7 @@ func TestCloneFromRequestLog(t *testing.T) { ProjectID: projectID, URL: exampleURL, Method: http.MethodPost, - Proto: sender.HTTPProto2, + Proto: sender.HTTPProto20, Header: http.Header{ "X-Foo": []string{"bar"}, },