mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	make fmt
This commit is contained in:
		| @@ -52,7 +52,7 @@ func TestWebfinger(t *testing.T) { | ||||
| 	var jrd webfingerJRD | ||||
| 	DecodeJSON(t, resp, &jrd) | ||||
| 	assert.Equal(t, "acct:user2@"+appURL.Host, jrd.Subject) | ||||
| 	assert.ElementsMatch(t, []string{user.HTMLURL(), appURL.String()+"api/v1/activitypub/user/"+user.Name}, jrd.Aliases) | ||||
| 	assert.ElementsMatch(t, []string{user.HTMLURL(), appURL.String() + "api/v1/activitypub/user/" + user.Name}, jrd.Aliases) | ||||
|  | ||||
| 	req = NewRequest(t, "GET", fmt.Sprintf("/.well-known/webfinger?resource=acct:%s@%s", user.LowerName, "unknown.host")) | ||||
| 	MakeRequest(t, req, http.StatusBadRequest) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user