Description
PATCH request will read data from Form, but NewRequestWithValues will insert data into Body, so these data will not be readed correctly.
As title, the usage of NewRequestWithValues(t, "PATCH", url, data) doesn't work in tests

e.g.



Gitea Version
latest
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
build
Database
None