mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Decouple unit test, remove intermediate unittestbridge package (#17662)
				
					
				
			Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		@@ -84,7 +84,6 @@ func NewNilResponseHashSumRecorder() *NilResponseHashSumRecorder {
 | 
			
		||||
func TestMain(m *testing.M) {
 | 
			
		||||
	defer log.Close()
 | 
			
		||||
 | 
			
		||||
	unittest.InitUnitTestBridge()
 | 
			
		||||
	managerCtx, cancel := context.WithCancel(context.Background())
 | 
			
		||||
	graceful.InitManager(managerCtx)
 | 
			
		||||
	defer cancel()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user