1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Code cleanup

This commit is contained in:
Anthony Wang
2022-06-11 21:15:45 -05:00
parent 7658649d61
commit 6074222377
3 changed files with 7 additions and 7 deletions

View File

@@ -32,8 +32,6 @@ func TestActivityPubPerson(t *testing.T) {
resp := MakeRequest(t, req, http.StatusOK)
body := resp.Body.Bytes()
assert.Contains(t, string(body), "@context")
var m map[string]interface{}
DecodeJSON(t, resp, &m)
var person ap.Person
err := person.UnmarshalJSON(body)