mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-22 16:44:06 +09:00
test(ping): add testing for gRPC
This commit is contained in:
16
routers/api/bots/bots_test.go
Normal file
16
routers/api/bots/bots_test.go
Normal file
@ -0,0 +1,16 @@
|
||||
// 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 bots
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"code.gitea.io/gitea/modules/web"
|
||||
"code.gitea.io/gitea/routers/api/bots/ping"
|
||||
)
|
||||
|
||||
func TestPingService(t *testing.T) {
|
||||
ping.MainServiceTest(t, Routes(web.NewRoute()))
|
||||
}
|
Reference in New Issue
Block a user