Remove unused account record in api/v2/admin/accounts spec (#30397)
This commit is contained in:
parent
5b5a35cf96
commit
3a862439df
@ -8,7 +8,6 @@ RSpec.describe 'API V2 Admin Accounts' do
|
|||||||
let(:scopes) { 'admin:read admin:write' }
|
let(:scopes) { 'admin:read admin:write' }
|
||||||
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: user.id, scopes: scopes) }
|
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: user.id, scopes: scopes) }
|
||||||
let(:headers) { { 'Authorization' => "Bearer #{token.token}" } }
|
let(:headers) { { 'Authorization' => "Bearer #{token.token}" } }
|
||||||
let(:account) { Fabricate(:account) }
|
|
||||||
|
|
||||||
describe 'GET #index' do
|
describe 'GET #index' do
|
||||||
let!(:remote_account) { Fabricate(:account, domain: 'example.org') }
|
let!(:remote_account) { Fabricate(:account, domain: 'example.org') }
|
||||||
|
Loading…
Reference in New Issue
Block a user