Files
gitea/routers/api/bots/ping/ping_test.go
2022-11-25 17:48:44 +08:00

21 lines
417 B
Go

// Copyright 2022 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package ping
import (
"net/http"
"testing"
"gitea.com/gitea/proto-go/ping/v1/pingv1connect"
)
func TestService(t *testing.T) {
mux := http.NewServeMux()
mux.Handle(pingv1connect.NewPingServiceHandler(
&Service{},
))
MainServiceTest(t, mux)
}