mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Fix domain statuses removal
Close #1543s
This commit is contained in:
parent
ed27152bb1
commit
b859cfc090
2 changed files with 13 additions and 2 deletions
|
@ -35,4 +35,15 @@ class AdminDomainsTestTest < ApplicationSystemTestCase
|
|||
assert_text 'deleteCandidate status has been removed'
|
||||
assert_no_link 'Remove deleteCandidate status'
|
||||
end
|
||||
|
||||
def test_remove_domain_status
|
||||
@domain.update!(statuses: [DomainStatus::SERVER_REGISTRANT_CHANGE_PROHIBITED])
|
||||
|
||||
visit edit_admin_domain_url(@domain)
|
||||
|
||||
click_link_or_button 'Delete'
|
||||
click_link_or_button 'Save'
|
||||
|
||||
assert_text 'Domain updated!'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue