mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	| @@ -39,6 +39,7 @@ func MockContext(t *testing.T, path string) *context.Context { | ||||
| 		Resp:   context.NewResponse(resp), | ||||
| 		Locale: &mockLocale{}, | ||||
| 	} | ||||
| 	defer ctx.Close() | ||||
|  | ||||
| 	requestURL, err := url.Parse(path) | ||||
| 	assert.NoError(t, err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user