0
0
Fork 0

Fix suspending an already-limited domain (#25603)

This commit is contained in:
Claire 2023-06-27 12:32:51 +02:00 committed by GitHub
parent ceca93d0d1
commit c7c6f02ae6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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