diff options
author | ThibG <thib@sitedethib.com> | 2020-12-15 17:23:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 17:23:58 +0100 |
commit | 83579695593c941ab39ab545c10a7f711bf715fc (patch) | |
tree | c2ff160746dbc34222b73d40b19d689c5bfa0e62 /spec/models | |
parent | 8485c436d5d083c28df8c942fe521bfb46edfc9f (diff) |
Fix admins being able to suspend their instance actor (#14567)
* Fix admin being able to suspend their own instance account * Add text about the instance's own actor in admin view * Change instance actor notice from flash message to template * Do not list local instance actor in account moderation list
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/account_filter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/account_filter_spec.rb b/spec/models/account_filter_spec.rb index 176a0eeac..0cdb373f6 100644 --- a/spec/models/account_filter_spec.rb +++ b/spec/models/account_filter_spec.rb @@ -5,7 +5,7 @@ describe AccountFilter do it 'defaults to recent local not-suspended account list' do filter = described_class.new({}) - expect(filter.results).to eq Account.local.recent.without_suspended + expect(filter.results).to eq Account.local.without_instance_actor.recent.without_suspended end end |