Add coverage for suspended instance actor scenario (#29571)

pull/29577/head
Matt Jankowski 2024-03-13 11:43:40 -04:00 committed by GitHub
parent 6262ceeb70
commit 71e5f0f48c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,14 @@ RSpec.describe InstanceActorsController do
it_behaves_like 'shared behavior'
end
context 'with a suspended instance actor' do
let(:authorized_fetch_mode) { false }
before { Account.representative.update(suspended_at: 10.days.ago) }
it_behaves_like 'shared behavior'
end
end
end
end