mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Add contact create to xml example file
This commit is contained in:
parent
accf0d552e
commit
7491d589a9
2 changed files with 34 additions and 1 deletions
|
@ -102,3 +102,36 @@
|
|||
<clTRID>ABC-12345</clTRID>
|
||||
</command>
|
||||
</epp>
|
||||
|
||||
<!-- CREATE CONTACT -->
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
<command>
|
||||
<create>
|
||||
<contact:create xmlns:contact="urn:ietf:params:xml:ns:contact-1.0">
|
||||
<contact:id>sh8013</contact:id>
|
||||
<contact:postalInfo>
|
||||
<contact:name>Sillius Soddus</contact:name>
|
||||
<contact:org>Example Inc.</contact:org>
|
||||
<contact:addr>
|
||||
<contact:street>123 Example Dr.</contact:street>
|
||||
<contact:street>Suite 100</contact:street>
|
||||
<contact:street/>
|
||||
<contact:city>Megaton</contact:city>
|
||||
<contact:sp>F3 </contact:sp>
|
||||
<contact:pc>201-33</contact:pc>
|
||||
<contact:cc>EE</contact:cc>
|
||||
</contact:addr>
|
||||
</contact:postalInfo>
|
||||
<contact:voice>+372.1234567</contact:voice>
|
||||
<contact:fax>123123</contact:fax>
|
||||
<contact:email>example@test.example</contact:email>
|
||||
<contact:ident type="op">37605030299</contact:ident>
|
||||
<contact:authInfo>
|
||||
<contact:pw>Aas34fq</contact:pw>
|
||||
</contact:authInfo>
|
||||
</contact:create>
|
||||
</create>
|
||||
<clTRID>ABC-12345</clTRID>
|
||||
</command>
|
||||
</epp>
|
||||
|
|
|
@ -285,7 +285,7 @@ describe 'EPP Domain', epp: true do
|
|||
|
||||
d = Domain.last
|
||||
|
||||
response = epp_request('domains/update_remove_objects.xml')
|
||||
epp_request('domains/update_remove_objects.xml')
|
||||
|
||||
expect(d.domain_statuses.count).to eq(1)
|
||||
expect(d.domain_statuses.first.value).to eq('clientUpdateProhibited')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue