mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 06:04:56 +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
|
def test_legal_document_is_required
|
||||||
assert_equal 'shop.test', @domain.name
|
assert_equal 'shop.test', @domain.name
|
||||||
|
@domain.registrar.legaldoc_optout = true
|
||||||
|
@domain.registrar.save(validate: false)
|
||||||
|
|
||||||
request_xml = <<-XML
|
request_xml = <<-XML
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue