mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Add test if legaldoc mandatory on domain delete
This commit is contained in:
parent
3d734ff746
commit
d29ef4174c
1 changed files with 3 additions and 1 deletions
|
@ -162,6 +162,8 @@ class EppDomainDeleteBaseTest < EppTestCase
|
|||
|
||||
def test_legal_document_is_required
|
||||
assert_equal 'shop.test', @domain.name
|
||||
@domain.registrar.legaldoc_optout = true
|
||||
@domain.registrar.save(validate: false)
|
||||
|
||||
request_xml = <<-XML
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
|
@ -207,4 +209,4 @@ class EppDomainDeleteBaseTest < EppTestCase
|
|||
|
||||
assert_epp_response :object_status_prohibits_operation
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue