enable linter testifylint on v7 (#4572)

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4572
Co-authored-by: TheFox0x7 <thefox0x7@gmail.com>
Co-committed-by: TheFox0x7 <thefox0x7@gmail.com>
This commit is contained in:
TheFox0x7 2024-07-30 19:42:06 +00:00 committed by Earl Warren
commit 072dd9f8bc
494 changed files with 4897 additions and 4554 deletions

View file

@ -48,7 +48,7 @@ func TestWebfinger(t *testing.T) {
req := NewRequest(t, "GET", fmt.Sprintf("/.well-known/webfinger?resource=acct:%s@%s", user.LowerName, appURL.Host))
resp := MakeRequest(t, req, http.StatusOK)
assert.Equal(t, resp.Header().Get("Content-Type"), "application/jrd+json")
assert.Equal(t, "application/jrd+json", resp.Header().Get("Content-Type"))
var jrd webfingerJRD
DecodeJSON(t, resp, &jrd)