mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-30 20:42:54 +09:00
20 lines
348 B
Go
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)
|
|
}
|