forked from kevadesu/forgejo
Code cleanup
This commit is contained in:
parent
7658649d61
commit
6074222377
3 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue