summaryrefslogtreecommitdiffstats
path: root/integrations/webfinger_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/webfinger_test.go')
-rw-r--r--integrations/webfinger_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/webfinger_test.go b/integrations/webfinger_test.go
index 8ba93c3f20..07bf58b509 100644
--- a/integrations/webfinger_test.go
+++ b/integrations/webfinger_test.go
@@ -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()}, jrd.Aliases)
+ assert.ElementsMatch(t, []string{user.HTMLURL(), appURL.String() + "api/v1/activitypub/user/" + url.PathEscape(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)