mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:35:03 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			420 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			420 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"
 | |
| 
 | |
| 	"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)
 | |
| }
 |