mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	fix golint error and rename func for suggestion. (#1997)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
		| @@ -22,7 +22,7 @@ func TestDeleteUser(t *testing.T) { | ||||
| 	resp := session.MakeRequest(t, req) | ||||
| 	assert.EqualValues(t, http.StatusOK, resp.HeaderCode) | ||||
|  | ||||
| 	doc := NewHtmlParser(t, resp.Body) | ||||
| 	doc := NewHTMLParser(t, resp.Body) | ||||
| 	req = NewRequestWithValues(t, "POST", "/admin/users/8/delete", map[string]string{ | ||||
| 		"_csrf": doc.GetCSRF(), | ||||
| 	}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user