mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 09:57:07 +02:00
Code cleanup
This commit is contained in:
3 files changed
+7
-7
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user