mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Use httptest in integration tests (#3080)
This commit is contained in:
		@@ -23,5 +23,5 @@ func TestPullCompare(t *testing.T) {
 | 
			
		||||
 | 
			
		||||
	req = NewRequest(t, "GET", link)
 | 
			
		||||
	resp = session.MakeRequest(t, req, http.StatusOK)
 | 
			
		||||
	assert.EqualValues(t, http.StatusOK, resp.HeaderCode)
 | 
			
		||||
	assert.EqualValues(t, http.StatusOK, resp.Code)
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user