Change new accounts to use new ActivityPub numeric ID scheme (#36365)
This commit is contained in:
@@ -58,7 +58,7 @@ RSpec.describe AccountControllerConcern do
|
||||
expect(response)
|
||||
.to have_http_status(200)
|
||||
.and have_http_link_header(webfinger_url(resource: account.to_webfinger_s)).for(rel: 'lrdd', type: 'application/jrd+json')
|
||||
.and have_http_link_header(account_url(account, protocol: :https)).for(rel: 'alternate', type: 'application/activity+json')
|
||||
.and have_http_link_header(ActivityPub::TagManager.instance.uri_for(account)).for(rel: 'alternate', type: 'application/activity+json')
|
||||
expect(response.body)
|
||||
.to include(account.username)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user