mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Basic transfer command for domain
This commit is contained in:
parent
bb78c0f581
commit
707c60b36e
8 changed files with 76 additions and 2 deletions
|
@ -349,6 +349,10 @@ describe 'EPP Domain', epp: true do
|
|||
expect(d.owner_contact_code).to eq('mak21')
|
||||
expect(d.auth_info).to eq('2BARfoo')
|
||||
end
|
||||
|
||||
it 'transfers a domain' do
|
||||
response = epp_request('domains/transfer.xml')
|
||||
end
|
||||
end
|
||||
|
||||
it 'checks a domain' do
|
||||
|
|
15
spec/epp/requests/domains/transfer.xml
Normal file
15
spec/epp/requests/domains/transfer.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
<command>
|
||||
<transfer op="query">
|
||||
<domain:transfer
|
||||
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
||||
<domain:name>example.ee</domain:name>
|
||||
<domain:authInfo>
|
||||
<domain:pw roid="JD1234-REP">98oiewslkfkd</domain:pw>
|
||||
</domain:authInfo>
|
||||
</domain:transfer>
|
||||
</transfer>
|
||||
<clTRID>ABC-12345</clTRID>
|
||||
</command>
|
||||
</epp>
|
Loading…
Add table
Add a link
Reference in a new issue