diff --git a/gitea/adapter_test.go b/gitea/adapter_test.go index a695233..75e2343 100644 --- a/gitea/adapter_test.go +++ b/gitea/adapter_test.go @@ -214,7 +214,6 @@ func TestAdapter_PostReview_EventTranslation(t *testing.T) { } } - func TestAdapter_PostReview_CommitID(t *testing.T) { var gotCommitID string server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/gitea/client_test.go b/gitea/client_test.go index 8525a72..df208dd 100644 --- a/gitea/client_test.go +++ b/gitea/client_test.go @@ -207,7 +207,6 @@ func TestPostReview_EmptyCommitID_OmittedFromPayload(t *testing.T) { } } - func TestGetPullRequest_Non200(t *testing.T) { server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusNotFound) @@ -1006,7 +1005,6 @@ func TestDoGet_RespectsContextCancellation(t *testing.T) { } } - // mockTransport is a test helper that returns errors for the first N calls, // then delegates to a real server. type mockTransport struct {