0
0
Fork 0

Fix FetchFeaturedCollectionService spec (#19401)

Regression from #19380
This commit is contained in:
Yamagishi Kazutoshi 2022-10-21 18:48:22 +09:00 committed by GitHub
parent 5e908c5a95
commit 94feb2b93f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -65,7 +65,7 @@ RSpec.describe ActivityPub::FetchFeaturedCollectionService, type: :service do
stub_request(:get, 'https://example.com/account/pinned/3').to_return(status: 404)
stub_request(:get, 'https://example.com/account/pinned/4').to_return(status: 200, body: Oj.dump(status_json_4))
subject.call(actor)
subject.call(actor, note: true, hashtag: false)
end
it 'sets expected posts as pinned posts' do