mirror of
https://github.com/internetee/registry.git
synced 2025-05-21 19:59:38 +02:00
Remove redundant xml
This commit is contained in:
parent
38eb98795c
commit
d5d1d0040b
2 changed files with 1 additions and 15 deletions
|
@ -178,7 +178,7 @@ describe 'EPP Domain', epp: true do
|
|||
before(:each) { Fabricate(:domain, name: 'example.ee') }
|
||||
|
||||
it 'renews a domain' do
|
||||
response = epp_request('domains/renew.xml')
|
||||
response = epp_request(domain_renew_xml, :xml)
|
||||
exDate = response[:parsed].css('renData exDate').text
|
||||
name = response[:parsed].css('renData name').text
|
||||
expect(exDate).to eq ('2015-08-07 00:00:00 UTC')
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
|
||||
<command>
|
||||
<renew>
|
||||
<domain:renew
|
||||
xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
|
||||
<domain:name>example.ee</domain:name>
|
||||
<domain:curExpDate>2014-08-07</domain:curExpDate>
|
||||
<domain:period unit="y">1</domain:period>
|
||||
</domain:renew>
|
||||
</renew>
|
||||
<clTRID>ABC-12345</clTRID>
|
||||
</command>
|
||||
</epp>
|
Loading…
Add table
Add a link
Reference in a new issue