Fetch statuses/following/followers numbers from ActivityPub collections (#4840)
This commit is contained in:
@ -41,7 +41,7 @@ RSpec.describe ActivityPub::FetchRemoteAccountService do
|
||||
|
||||
before do
|
||||
actor[:inbox] = nil
|
||||
|
||||
|
||||
stub_request(:get, 'https://example.com/alice').to_return(body: Oj.dump(actor))
|
||||
stub_request(:get, 'https://example.com/.well-known/webfinger?resource=acct:alice@example.com').to_return(body: Oj.dump(webfinger), headers: { 'Content-Type': 'application/jrd+json' })
|
||||
end
|
||||
|
Reference in New Issue
Block a user