Code cleanup

This commit is contained in:
Anthony Wang 2022-06-11 21:15:45 -05:00
parent 7658649d61
commit 6074222377
No known key found for this signature in database
GPG key ID: BC96B00AEC5F2D76
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)