mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			417 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			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)
 | 
						|
}
 |