Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2022-02-11 21:53:20 +01:00
246 changed files with 10476 additions and 5605 deletions

View File

@@ -79,7 +79,7 @@ describe Api::V1::Accounts::StatusesController do
it 'lists both the public and the private statuses' do
get :index, params: { account_id: account.id, pinned: true }
json = body_as_json
expect(json.map { |item| item[:id].to_i }.sort).to eq [status.id, private_status.id].sort
expect(json.map { |item| item[:id].to_i }).to match_array([status.id, private_status.id])
end
end
end