Merge branch 'main' into glitch-soc/merge-upstream
This commit is contained in:
commit
51cad4f7fb
246 changed files with 10476 additions and 5605 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue