Epp contact tests now 10x faster

This commit is contained in:
Priit Tark 2015-01-26 15:45:11 +02:00
parent 4e7b0e6104
commit 4401d8495e
9 changed files with 361 additions and 324 deletions

View file

@ -11,7 +11,8 @@ xml.epp_head do
xml.tag!('contact:voice', @contact.phone) if @disclosure.try(:phone) || @owner
xml.tag!('contact:fax', @contact.fax) if @disclosure.try(:fax) || @owner
xml.tag!('contact:email', @contact.email) if @disclosure.try(:email) || @owner
#xml.tag!('contact:clID', @current_epp_user.username) if @current_epp_user
xml.tag!('contact:clID', @contact.registrar.try(:name))
#xml.tag!('contact:crID', @contact.cr_id ) if @contact.cr_id
xml.tag!('contact:crDate', @contact.created_at)
xml.tag!('contact:upID', @contact.up_id) if @contact.up_id