Merge commit '76d8ac3fe680e92d20059c590ccb1cd8f74078c2' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2025-11-24 19:08:03 +01:00
124 changed files with 544 additions and 333 deletions

View File

@@ -3,9 +3,7 @@
require 'rails_helper'
RSpec.describe 'Instances' do
let(:user) { Fabricate(:user) }
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: user.id) }
let(:headers) { { 'Authorization' => "Bearer #{token.token}" } }
include_context 'with API authentication'
describe 'GET /api/v1/instance' do
context 'when not logged in' do