Fix suspending an already-limited domain (#25603)
This commit is contained in:
1 parent
ceca93d0d1
commit
c7c6f02ae6
2 files changed
+3
-3
No files matched your search
@@ -53,7 +53,7 @@ describe 'blocking domains through the moderation interface' do
|
||||
# Confirming updates the block
|
||||
click_on I18n.t('admin.domain_blocks.confirm_suspension.confirm')
|
||||
|
||||
expect(domain_block.reload.severity).to eq 'silence'
|
||||
expect(domain_block.reload.severity).to eq 'suspend'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -72,7 +72,7 @@ describe 'blocking domains through the moderation interface' do
|
||||
# Confirming updates the block
|
||||
click_on I18n.t('admin.domain_blocks.confirm_suspension.confirm')
|
||||
|
||||
expect(domain_block.reload.severity).to eq 'silence'
|
||||
expect(domain_block.reload.severity).to eq 'suspend'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user