Files
gitea/routers/api/bots/ping/ping_test.go
2022-12-02 22:25:31 +08:00

20 lines
348 B
Go

// Copyright 2022 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package ping
import (
"net/http"
"testing"
"code.gitea.io/bots-proto-go/ping/v1/pingv1connect"
)
func TestService(t *testing.T) {
mux := http.NewServeMux()
mux.Handle(pingv1connect.NewPingServiceHandler(
&Service{},
))
MainServiceTest(t, mux)
}